API improvement suggestion

9 views
Skip to first unread message

ArkanoiD

unread,
Aug 19, 2009, 11:04:14 AM8/19/09
to Pathfinder Mailing List
It would be nice if Pathfinder could provide more detailed certificate
validation error codes like SSL_get_verify_result() does..

ArkanoiD

unread,
Sep 23, 2009, 1:23:03 PM9/23/09
to Pathfinder Mailing List
..i jusct checked pathfinder.cc - there are just 11 "wouldfail()"
calls.

It could be useful to prefix text messages with numeric codes, as text
messages are likely to change and numeric codes are not.
Something like

wouldfail("Certificate signed using a disallowed Hash algorithm.");

becomes

wouldfail("001 Certificate signed using a disallowed Hash
algorithm.");

or even use numbers > 50 ( >100?) to avoid collision with openssl
verify codes.
Reply all
Reply to author
Forward
0 new messages