summaryrefslogtreecommitdiffstats
path: root/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2015-08-27 06:21:15 +0000
committerdoug <doug@openbsd.org>2015-08-27 06:21:15 +0000
commitad8a4f4defc760164e2271b0a43a8d6331a93eaa (patch)
tree8dde52e8d47e15300a875fc3b4082d02fa829386 /lib/libssl/s3_lib.c
parentsimple sizes for free() (diff)
downloadwireguard-openbsd-ad8a4f4defc760164e2271b0a43a8d6331a93eaa.tar.xz
wireguard-openbsd-ad8a4f4defc760164e2271b0a43a8d6331a93eaa.zip
Remove SSLv3 support from LibreSSL.
This is the first wave of SSLv3 removal which removes the main SSLv3 functions. Future commits will remove the rest of the SSLv3 support. Discussed the plan at c2k15. Input from jsing@, beck@, miod@, bcook@, sthen@, naddy@, and deraadt@. ok jsing@, beck@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r--lib/libssl/s3_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index c8bdac0214b..42396a21e9d 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.99 2015/07/19 06:23:51 doug Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.100 2015/08/27 06:21:15 doug Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -2112,7 +2112,7 @@ ssl3_clear(SSL *s)
s->s3->total_renegotiations = 0;
s->s3->num_renegotiations = 0;
s->s3->in_read_app_data = 0;
- s->version = SSL3_VERSION;
+ s->version = TLS1_VERSION;
free(s->next_proto_negotiated);
s->next_proto_negotiated = NULL;