summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r--src/lib/libssl/s3_lib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 6563de5be2..9dd6343b84 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.207 2021/04/19 16:47:25 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.208 2021/04/21 19:27:56 jsing 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 *
@@ -1570,7 +1570,7 @@ ssl3_free(SSL *s)
1570 freezero(S3I(s)->hs.tls13.cookie, S3I(s)->hs.tls13.cookie_len); 1570 freezero(S3I(s)->hs.tls13.cookie, S3I(s)->hs.tls13.cookie_len);
1571 tls13_clienthello_hash_clear(&S3I(s)->hs.tls13); 1571 tls13_clienthello_hash_clear(&S3I(s)->hs.tls13);
1572 1572
1573 sk_X509_NAME_pop_free(S3I(s)->tmp.ca_names, X509_NAME_free); 1573 sk_X509_NAME_pop_free(S3I(s)->hs.tls12.ca_names, X509_NAME_free);
1574 1574
1575 tls1_transcript_free(s); 1575 tls1_transcript_free(s);
1576 tls1_transcript_hash_free(s); 1576 tls1_transcript_hash_free(s);
@@ -1591,7 +1591,7 @@ ssl3_clear(SSL *s)
1591 size_t rlen, wlen; 1591 size_t rlen, wlen;
1592 1592
1593 tls1_cleanup_key_block(s); 1593 tls1_cleanup_key_block(s);
1594 sk_X509_NAME_pop_free(S3I(s)->tmp.ca_names, X509_NAME_free); 1594 sk_X509_NAME_pop_free(S3I(s)->hs.tls12.ca_names, X509_NAME_free);
1595 1595
1596 DH_free(S3I(s)->tmp.dh); 1596 DH_free(S3I(s)->tmp.dh);
1597 S3I(s)->tmp.dh = NULL; 1597 S3I(s)->tmp.dh = NULL;