summaryrefslogtreecommitdiffstats
path: root/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2019-01-24 01:50:41 +0000
committerbeck <beck@openbsd.org>2019-01-24 01:50:41 +0000
commit4c111e0031c50e1b3737f7847feb516d2bcd06f5 (patch)
tree09ed1871c1114cbf3180f5fc8d2071909e48ebb5 /lib/libssl/s3_lib.c
parentCorrect a wrong comment about PTE skip size (diff)
downloadwireguard-openbsd-4c111e0031c50e1b3737f7847feb516d2bcd06f5.tar.xz
wireguard-openbsd-4c111e0031c50e1b3737f7847feb516d2bcd06f5.zip
move the extensions_seen into the handshake struct
ok jsing@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r--lib/libssl/s3_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index 496bf7394c4..36142f04152 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.180 2019/01/23 18:24:40 beck Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.181 2019/01/24 01:50:41 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1606,6 +1606,8 @@ ssl3_clear(SSL *s)
freezero(S3I(s)->hs_tls13.x25519_public, X25519_KEY_LENGTH);
freezero(S3I(s)->hs_tls13.x25519_peer_public, X25519_KEY_LENGTH);
+ S3I(s)->hs.extensions_seen = 0;
+
rp = S3I(s)->rbuf.buf;
wp = S3I(s)->wbuf.buf;
rlen = S3I(s)->rbuf.len;