Skip to contentSkip to conversation

Fix function name in DH error message

PATCH In review Arne Schwabe 2 participants 2 messages Nov 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix function name in DH error message

This was noticed by Steffan.

---
 src/openvpn/ssl_openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/ssl_openssl.c +1 -1
index 61cfd7ccf..ab9a8f347 100644
@@ -684,7 +684,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",
Signature · 1 line
2.33.0
Acked-by on v1 1/1
#1 lore raw

"Obviously correct" :-)

Your patch has been applied to the master branch.

commit f1dd638ca6acf35f0913f4e3d66451a70891c3de

Author: Arne Schwabe
Date:   Fri Nov 5 15:50:56 2021 +0100
     Fix function name in DH error message

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg23097.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering