Re: Error Stack Question

2002-02-01 Thread Bodo Moeller
Verdon Walker [EMAIL PROTECTED] in epsilon.openssl.bugs: We ran into a small piece of code in ssl_rsa.c that is confusing us. In SSL_CTX_use_certificate_chain_file(), the following code fragment exists: ret=SSL_CTX_use_certificate(ctx,x); if (ERR_peek_error() != 0) ret = 0; /*

Error Stack Question

2002-01-28 Thread Verdon Walker
We ran into a small piece of code in ssl_rsa.c that is confusing us. In SSL_CTX_use_certificate_chain_file(), the following code fragment exists: ret=SSL_CTX_use_certificate(ctx,x);if (ERR_peek_error() != 0) ret = 0; /* Key/certificate mismatch doesn't imply ret==0 ... */if (ret)... Isn't