summaryrefslogtreecommitdiff
path: root/lib/libssl/t1_meth.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2017-01-26 05:31:26 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2017-01-26 05:31:26 +0000
commitf972655637430847a3002ab87a8644eb6117ee4d (patch)
tree33e188a5c291378d2cea99fc1e584a9484019c29 /lib/libssl/t1_meth.c
parent910e66612ba156a819383c18652d6b8716d3a27c (diff)
Merge the client/server version negotiation into the existing (currently
fixed version) client/server code. ok beck@
Diffstat (limited to 'lib/libssl/t1_meth.c')
-rw-r--r--lib/libssl/t1_meth.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libssl/t1_meth.c b/lib/libssl/t1_meth.c
index d6262e48cd1..6a4a243b9df 100644
--- a/lib/libssl/t1_meth.c
+++ b/lib/libssl/t1_meth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: t1_meth.c,v 1.22 2017/01/26 00:42:44 jsing Exp $ */
+/* $OpenBSD: t1_meth.c,v 1.23 2017/01/26 05:31:25 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -71,22 +71,22 @@ static const SSL_METHOD_INTERNAL TLS_method_internal_data = {
.ssl_new = tls1_new,
.ssl_clear = tls1_clear,
.ssl_free = tls1_free,
- .ssl_accept = ssl23_accept,
- .ssl_connect = ssl23_connect,
- .ssl_read = ssl23_read,
- .ssl_peek = ssl23_peek,
- .ssl_write = ssl23_write,
- .ssl_shutdown = ssl_undefined_function,
- .ssl_pending = ssl_undefined_const_function,
+ .ssl_accept = ssl3_accept,
+ .ssl_connect = ssl3_connect,
+ .ssl_read = ssl3_read,
+ .ssl_peek = ssl3_peek,
+ .ssl_write = ssl3_write,
+ .ssl_shutdown = ssl3_shutdown,
+ .ssl_pending = ssl3_pending,
.get_ssl_method = tls1_get_method,
- .get_timeout = ssl23_default_timeout,
+ .get_timeout = tls1_default_timeout,
.ssl_version = ssl_undefined_void_function,
.ssl_renegotiate = ssl_undefined_function,
.ssl_renegotiate_check = ssl_ok,
.ssl_get_message = ssl3_get_message,
.ssl_read_bytes = ssl3_read_bytes,
.ssl_write_bytes = ssl3_write_bytes,
- .ssl3_enc = NULL,
+ .ssl3_enc = &TLSv1_2_enc_data,
};
static const SSL_METHOD TLS_method_data = {