summaryrefslogtreecommitdiff
path: root/lib/libssl/t1_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/t1_clnt.c')
-rw-r--r--lib/libssl/t1_clnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_clnt.c b/lib/libssl/t1_clnt.c
index 2223422d93a..39b1d2a324a 100644
--- a/lib/libssl/t1_clnt.c
+++ b/lib/libssl/t1_clnt.c
@@ -123,7 +123,7 @@ const SSL_METHOD TLSv1_1_client_method_data = {
.get_cipher = ssl3_get_cipher,
.get_ssl_method = tls1_get_client_method,
.get_timeout = tls1_default_timeout,
- .ssl3_enc = &TLSv1_enc_data,
+ .ssl3_enc = &TLSv1_1_enc_data,
.ssl_version = ssl_undefined_void_function,
.ssl_callback_ctrl = ssl3_callback_ctrl,
.ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl,
@@ -155,7 +155,7 @@ const SSL_METHOD TLSv1_2_client_method_data = {
.get_cipher = ssl3_get_cipher,
.get_ssl_method = tls1_get_client_method,
.get_timeout = tls1_default_timeout,
- .ssl3_enc = &TLSv1_enc_data,
+ .ssl3_enc = &TLSv1_2_enc_data,
.ssl_version = ssl_undefined_void_function,
.ssl_callback_ctrl = ssl3_callback_ctrl,
.ssl_ctx_callback_ctrl = ssl3_ctx_callback_ctrl,