summaryrefslogtreecommitdiff
path: root/lib/libssl/t1_meth.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libssl/t1_meth.c')
-rw-r--r--lib/libssl/t1_meth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/t1_meth.c b/lib/libssl/t1_meth.c
index b39303b369f..6bdffd2332e 100644
--- a/lib/libssl/t1_meth.c
+++ b/lib/libssl/t1_meth.c
@@ -120,7 +120,7 @@ const SSL_METHOD TLSv1_1_method_data = {
.get_cipher = ssl3_get_cipher,
.get_ssl_method = tls1_get_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,
@@ -152,7 +152,7 @@ const SSL_METHOD TLSv1_2_method_data = {
.get_cipher = ssl3_get_cipher,
.get_ssl_method = tls1_get_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,