« Return to Thread: CRYPT_OPTION_SELFTESTOK error

CRYPT_OPTION_SELFTESTOK error

by Scott Neugroschl :: Rate this Message:

Reply to Author | View in Thread

On page 268, the manual states that all algorithms can be tested by
setting CRYPT_OPTION_SELFTESTOK to CRYPT_USE_DEFAULT.
However, when doing so, an internal error is generated by
setUserAttribute (user_attr.c, lines 312-314), as the REQUIRES does not
allow a negative value for the attribute.
CRYPT_USE_DEFAULT is defined as -100 (cryptlib.h, line 1517), so using
the function as documented generates an internal fault.

Also, there is a typo in the manual on 268.  In the second paragraph
after the table (starts with CRYPT_OPTION_SELFTEST), the first word
should be CRYPT_OPTION_SELFTESTOK.




_______________________________________________
Cryptlib mailing list
Cryptlib@... via Mail: cryptlib-request@...
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

 « Return to Thread: CRYPT_OPTION_SELFTESTOK error