0
0
mirror of https://github.com/OpenVPN/openvpn.git synced 2024-09-20 12:02:28 +02:00

Fix function name in DH error message

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>
This commit is contained in:
Arne Schwabe 2021-11-05 15:50:56 +01:00 committed by Gert Doering
parent 0569919256
commit f1dd638ca6

View 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)) 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", msg(D_TLS_DEBUG_LOW, "Diffie-Hellman initialized with %d bit key",