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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 6f5ee4fa50..ef7a368d8f 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.118 2017/01/22 03:50:45 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.119 2017/01/22 06:36:49 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 *
@@ -1902,9 +1902,9 @@ ssl3_clear(SSL *s)
1902 s->packet_length = 0; 1902 s->packet_length = 0;
1903 s->version = TLS1_VERSION; 1903 s->version = TLS1_VERSION;
1904 1904
1905 free(s->next_proto_negotiated); 1905 free(s->internal->next_proto_negotiated);
1906 s->next_proto_negotiated = NULL; 1906 s->internal->next_proto_negotiated = NULL;
1907 s->next_proto_negotiated_len = 0; 1907 s->internal->next_proto_negotiated_len = 0;
1908} 1908}
1909 1909
1910static long 1910static long