summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorbeck <>2019-01-24 01:50:41 +0000
committerbeck <>2019-01-24 01:50:41 +0000
commit354172b127820c0f48cb417d4d46746e2122f87b (patch)
tree545d5a4b3595d94dfb4578269077b87cbcf48afb /src/lib/libssl/s3_lib.c
parent9e01a2b9fc249398f995e0d00bee55d7e3c31be0 (diff)
downloadopenbsd-354172b127820c0f48cb417d4d46746e2122f87b.tar.gz
openbsd-354172b127820c0f48cb417d4d46746e2122f87b.tar.bz2
openbsd-354172b127820c0f48cb417d4d46746e2122f87b.zip
move the extensions_seen into the handshake struct
ok jsing@
Diffstat (limited to '')
-rw-r--r--src/lib/libssl/s3_lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 496bf7394c..36142f0415 100644
--- a/src/lib/libssl/s3_lib.c
+++ b/src/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s3_lib.c,v 1.180 2019/01/23 18:24:40 beck Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.181 2019/01/24 01:50:41 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1606,6 +1606,8 @@ ssl3_clear(SSL *s)
1606 freezero(S3I(s)->hs_tls13.x25519_public, X25519_KEY_LENGTH); 1606 freezero(S3I(s)->hs_tls13.x25519_public, X25519_KEY_LENGTH);
1607 freezero(S3I(s)->hs_tls13.x25519_peer_public, X25519_KEY_LENGTH); 1607 freezero(S3I(s)->hs_tls13.x25519_peer_public, X25519_KEY_LENGTH);
1608 1608
1609 S3I(s)->hs.extensions_seen = 0;
1610
1609 rp = S3I(s)->rbuf.buf; 1611 rp = S3I(s)->rbuf.buf;
1610 wp = S3I(s)->wbuf.buf; 1612 wp = S3I(s)->wbuf.buf;
1611 rlen = S3I(s)->rbuf.len; 1613 rlen = S3I(s)->rbuf.len;