OpenSSL ssl_store_cert(): Fix an error message
authorFabian Keil <fk@fabiankeil.de>
Fri, 15 Jan 2021 16:57:43 +0000 (17:57 +0100)
committerFabian Keil <fk@fabiankeil.de>
Mon, 18 Jan 2021 13:30:39 +0000 (14:30 +0100)
openssl.c

index b3d83a7..e697310 100644 (file)
--- 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;
    }