summaryrefslogtreecommitdiff
path: root/src/lib/libssl/t1_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/t1_lib.c')
-rw-r--r--src/lib/libssl/t1_lib.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c
index 23e1a2d350..9b60d664e5 100644
--- a/src/lib/libssl/t1_lib.c
+++ b/src/lib/libssl/t1_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: t1_lib.c,v 1.110 2017/01/24 12:24:07 jsing Exp $ */ 1/* $OpenBSD: t1_lib.c,v 1.111 2017/01/24 14:57:31 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 *
@@ -1593,10 +1593,8 @@ ssl_parse_clienthello_tlsext(SSL *s, unsigned char **p, unsigned char *d,
1593 } 1593 }
1594 sdata = data; 1594 sdata = data;
1595 if (dsize > 0) { 1595 if (dsize > 0) {
1596 if (s->internal->tlsext_ocsp_exts) { 1596 sk_X509_EXTENSION_pop_free(s->internal->tlsext_ocsp_exts,
1597 sk_X509_EXTENSION_pop_free(s->internal->tlsext_ocsp_exts, 1597 X509_EXTENSION_free);
1598 X509_EXTENSION_free);
1599 }
1600 1598
1601 s->internal->tlsext_ocsp_exts = 1599 s->internal->tlsext_ocsp_exts =
1602 d2i_X509_EXTENSIONS(NULL, 1600 d2i_X509_EXTENSIONS(NULL,