missing REPORT_OPENSSL_ERRORS

This commit is contained in:
Joe Shochet 2003-04-23 03:43:08 +00:00
parent ba8d32a738
commit e854158b47

View File

@ -723,7 +723,9 @@ load_verify_locations(SSL_CTX *ctx, const Filename &ca_file) {
// We have to be sure and clear the OpenSSL error state before we
// call this function, or it will get confused.
#ifdef REPORT_OPENSSL_ERRORS
ERR_clear_error();
#endif
inf = PEM_X509_INFO_read_bio(mbio, NULL, NULL, NULL);
BIO_free(mbio);