summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 9df06c51be..6563de5be2 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.206 2021/03/24 18:43:59 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.207 2021/04/19 16:47:25 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 *
@@ -1627,6 +1627,7 @@ ssl3_clear(SSL *s)
1627 1627
1628 free(S3I(s)->alpn_selected); 1628 free(S3I(s)->alpn_selected);
1629 S3I(s)->alpn_selected = NULL; 1629 S3I(s)->alpn_selected = NULL;
1630 S3I(s)->alpn_selected_len = 0;
1630 1631
1631 memset(S3I(s), 0, sizeof(*S3I(s))); 1632 memset(S3I(s), 0, sizeof(*S3I(s)));
1632 internal = S3I(s); 1633 internal = S3I(s);