From 691c4f59e98481dd056abbab8b86d5a4294481a5 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 15 Jan 2021 17:57:43 +0100 Subject: [PATCH] OpenSSL ssl_store_cert(): Fix an error message --- openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl.c b/openssl.c index b3d83a77..e6973103 100644 --- a/openssl.c +++ b/openssl.c @@ -308,7 +308,7 @@ static int ssl_store_cert(struct client_state *csp, X509* crt) */ if (!PEM_write_bio_X509(bio, crt)) { - log_ssl_errors(LOG_LEVEL_ERROR, "PEM_write_X509() failed"); + log_ssl_errors(LOG_LEVEL_ERROR, "PEM_write_bio_X509() failed"); ret = -1; goto exit; } -- 2.39.2