summaryrefslogtreecommitdiffstats
path: root/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2017-01-22 06:36:49 +0000
committerjsing <jsing@openbsd.org>2017-01-22 06:36:49 +0000
commit9fa78f4bebe7595e9004a87ac7bf7de7eb16a0bc (patch)
treef58b427bb608c211ad1238aede778e94df3f4c82 /lib/libssl/s3_lib.c
parentOn clang architectures cc, c++ and cpp are provided by clang. Also, (diff)
downloadwireguard-openbsd-9fa78f4bebe7595e9004a87ac7bf7de7eb16a0bc.tar.xz
wireguard-openbsd-9fa78f4bebe7595e9004a87ac7bf7de7eb16a0bc.zip
Move ALPN and NPN fields from SSL/SSL_CTX to internal.
ok beck@
Diffstat (limited to 'lib/libssl/s3_lib.c')
-rw-r--r--lib/libssl/s3_lib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libssl/s3_lib.c b/lib/libssl/s3_lib.c
index 6f5ee4fa50d..ef7a368d8f5 100644
--- a/lib/libssl/s3_lib.c
+++ b/lib/libssl/s3_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s3_lib.c,v 1.118 2017/01/22 03:50:45 jsing Exp $ */
+/* $OpenBSD: s3_lib.c,v 1.119 2017/01/22 06:36:49 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1902,9 +1902,9 @@ ssl3_clear(SSL *s)
s->packet_length = 0;
s->version = TLS1_VERSION;
- free(s->next_proto_negotiated);
- s->next_proto_negotiated = NULL;
- s->next_proto_negotiated_len = 0;
+ free(s->internal->next_proto_negotiated);
+ s->internal->next_proto_negotiated = NULL;
+ s->internal->next_proto_negotiated_len = 0;
}
static long