diff options
author | jsing <> | 2017-01-22 06:36:49 +0000 |
---|---|---|
committer | jsing <> | 2017-01-22 06:36:49 +0000 |
commit | 334c9196a27db4244daba48e4ba2118985c535ed (patch) | |
tree | 765f88b1c5ef0790c3644c70ffacf8e9a39b9ceb /src/lib/libssl/s3_lib.c | |
parent | 107eff56043a3070d462256dca1675a3db9d9eab (diff) | |
download | openbsd-334c9196a27db4244daba48e4ba2118985c535ed.tar.gz openbsd-334c9196a27db4244daba48e4ba2118985c535ed.tar.bz2 openbsd-334c9196a27db4244daba48e4ba2118985c535ed.zip |
Move ALPN and NPN fields from SSL/SSL_CTX to internal.
ok beck@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r-- | src/lib/libssl/s3_lib.c | 8 |
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 | ||
1910 | static long | 1910 | static long |