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, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 3a11d62893..acbe30d804 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.157 2017/08/12 02:55:22 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.158 2017/08/12 21:03:08 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 *
@@ -1705,10 +1705,6 @@ ssl3_clear(SSL *s)
1705 1705
1706 s->internal->packet_length = 0; 1706 s->internal->packet_length = 0;
1707 s->version = TLS1_VERSION; 1707 s->version = TLS1_VERSION;
1708
1709 free(s->internal->next_proto_negotiated);
1710 s->internal->next_proto_negotiated = NULL;
1711 s->internal->next_proto_negotiated_len = 0;
1712} 1708}
1713 1709
1714static long 1710static long