From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 12 Feb 2021 17:00:34 +0000 (+0100)
Subject: OpenSSL ssl_store_cert(): Fix two error messages
X-Git-Tag: v_3_0_32~61
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=b14150078393effcdaf37c436b789919e2ea12af;p=privoxy.git

OpenSSL ssl_store_cert(): Fix two error messages
---

diff --git a/openssl.c b/openssl.c
index 824b0d73..2ab67c96 100644
--- a/openssl.c
+++ b/openssl.c
@@ -283,7 +283,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt)
 
    if (!bio)
    {
-      log_ssl_errors(LOG_LEVEL_ERROR, "BIO_new_mem_buf() failed");
+      log_ssl_errors(LOG_LEVEL_ERROR, "BIO_new() failed");
       return -1;
    }
 
@@ -328,7 +328,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt)
    bio = BIO_new(BIO_s_mem());
    if (!bio)
    {
-      log_ssl_errors(LOG_LEVEL_ERROR, "BIO_new_mem_buf() failed");
+      log_ssl_errors(LOG_LEVEL_ERROR, "BIO_new() failed");
       ret = -1;
       goto exit;
    }