From f1dd638ca6acf35f0913f4e3d66451a70891c3de Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 5 Nov 2021 15:50:56 +0100 Subject: [PATCH] Fix function name in DH error message This was noticed by Steffan. Signed-off-by: Arne Schwabe Acked-by: Gert Doering 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 --- src/openvpn/ssl_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index 25ff50375..dd711ff23 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -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", -- 2.47.2