summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorjcs <>2023-05-16 14:10:43 +0000
committerjcs <>2023-05-16 14:10:43 +0000
commite42d8f4b21a8a498e2eabbffe4c7b7d4ef7cec54 (patch)
tree08505293e37310a51387b8dfd9f298d9cfd79ced /src/lib
parent3ea05589a10a373b7fdef94f8262460dbfffa8fc (diff)
downloadopenbsd-e42d8f4b21a8a498e2eabbffe4c7b7d4ef7cec54.tar.gz
openbsd-e42d8f4b21a8a498e2eabbffe4c7b7d4ef7cec54.tar.bz2
openbsd-e42d8f4b21a8a498e2eabbffe4c7b7d4ef7cec54.zip
add missing pointer invalidation
ok tb
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/s3_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 9e76cf93d8..4229b2e9e3 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.242 2022/11/26 16:08:55 tb Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.243 2023/05/16 14:10:43 jcs 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 *
@@ -1580,6 +1580,7 @@ ssl3_free(SSL *s)
1580 1580
1581 sk_X509_NAME_pop_free(s->s3->hs.tls12.ca_names, X509_NAME_free); 1581 sk_X509_NAME_pop_free(s->s3->hs.tls12.ca_names, X509_NAME_free);
1582 sk_X509_pop_free(s->verified_chain, X509_free); 1582 sk_X509_pop_free(s->verified_chain, X509_free);
1583 s->verified_chain = NULL;
1583 1584
1584 tls1_transcript_free(s); 1585 tls1_transcript_free(s);
1585 tls1_transcript_hash_free(s); 1586 tls1_transcript_hash_free(s);