]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix function name in DH error message
authorArne Schwabe <arne@rfc2549.org>
Fri, 5 Nov 2021 14:50:56 +0000 (15:50 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 5 Nov 2021 15:08:20 +0000 (16:08 +0100)
This was noticed by Steffan.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211105145056.2907568-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23097.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_openssl.c

index 25ff50375a69fb2b1f21679bd94873e5cf8e6f53..dd711ff23f7446eb6bb7116308ba1d074680996d 100644 (file)
@@ -680,7 +680,7 @@ tls_ctx_load_dh_params(struct tls_root_ctx *ctx, const char *dh_file,
     }
     if (!SSL_CTX_set0_tmp_dh_pkey(ctx->ctx, dh))
     {
-        crypto_msg(M_FATAL, "SSL_CTX_set_tmp_dh");
+        crypto_msg(M_FATAL, "SSL_CTX_set0_tmp_dh_pkey");
     }
 
     msg(D_TLS_DEBUG_LOW, "Diffie-Hellman initialized with %d bit key",