From e854158b473b1027676fff507f0a4db5fe15c152 Mon Sep 17 00:00:00 2001 From: Joe Shochet Date: Wed, 23 Apr 2003 03:43:08 +0000 Subject: [PATCH] missing REPORT_OPENSSL_ERRORS --- panda/src/downloader/httpClient.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panda/src/downloader/httpClient.cxx b/panda/src/downloader/httpClient.cxx index 3fa1b1d281..c47e2a1620 100644 --- a/panda/src/downloader/httpClient.cxx +++ b/panda/src/downloader/httpClient.cxx @@ -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);