diff options
author | Steffan Karger <steffan@karger.me> | 2014-01-01 21:10:22 +0100 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2014-01-03 11:09:52 +0100 |
commit | 441be9f4f91a16218d40b401384ead51b5aac0cc (patch) | |
tree | 3e3ce239cb2383b3d71e946fef4ba72d9e155a10 | |
parent | dd3e319c1d66c7da51b8555d745a1139e0b322f2 (diff) | |
download | openvpn-441be9f4f91a16218d40b401384ead51b5aac0cc.tar.gz openvpn-441be9f4f91a16218d40b401384ead51b5aac0cc.tar.xz openvpn-441be9f4f91a16218d40b401384ead51b5aac0cc.zip |
Update TLSv1 error messages to SSLv23 to reflect changes from commit 4b67f98
Commit 4b67f98 changed call to TLSv1_{client,server}_method() to
SSLv23_{client,server}_method(), this commit updates the corresponding
error messages to match the changes in the code.
Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1388607026-12297-3-git-send-email-steffan@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8147
Signed-off-by: Gert Doering <gert@greenie.muc.de>
-rw-r--r-- | src/openvpn/ssl_openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index 2e5d9cd..2ed95f0 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -117,7 +117,7 @@ tls_ctx_server_new(struct tls_root_ctx *ctx) ctx->ctx = SSL_CTX_new (SSLv23_server_method ()); if (ctx->ctx == NULL) - msg (M_SSLERR, "SSL_CTX_new TLSv1_server_method"); + msg (M_SSLERR, "SSL_CTX_new SSLv23_server_method"); SSL_CTX_set_tmp_rsa_callback (ctx->ctx, tmp_rsa_cb); } @@ -130,7 +130,7 @@ tls_ctx_client_new(struct tls_root_ctx *ctx) ctx->ctx = SSL_CTX_new (SSLv23_client_method ()); if (ctx->ctx == NULL) - msg (M_SSLERR, "SSL_CTX_new TLSv1_client_method"); + msg (M_SSLERR, "SSL_CTX_new SSLv23_client_method"); } void |