On Mon, Apr 09, 2001 at 10:27:37AM -0500, Brook A. Keele wrote:

> Where is it that I can find the what the reason codes mean? 
> i.e. 
> error:00000005:lib(0):func(0):reason(5)
> 
> where can i look these up to find out what is actually wrong?

If the program uses ERR_load_crypto_strings() (and SSL_load_error_strings()
if libssl is used in addition to libcrypto), the error message will
contain readable text instead of numerical codes.  Otherwise, you can
use 'openssl errstr' to convert the error code into readable form:

$ openssl errstr 5
error:00000005:lib(0):func(0):bad asn1 object header


-- 
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to