From b14150078393effcdaf37c436b789919e2ea12af Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 12 Feb 2021 18:00:34 +0100 Subject: [PATCH] OpenSSL ssl_store_cert(): Fix two error messages --- openssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2