summaryrefslogtreecommitdiff
path: root/src/lib/libssl/s3_lib.c
diff options
context:
space:
mode:
authorjsing <>2014-12-14 14:34:43 +0000
committerjsing <>2014-12-14 14:34:43 +0000
commitb303e332970ffd772a791a3a52b851697dd671bc (patch)
treed5225f7d83af44c76a58e948450d586798882cf9 /src/lib/libssl/s3_lib.c
parent8c353d1cc8300944b77e9bee6d4be75bd546eec1 (diff)
downloadopenbsd-b303e332970ffd772a791a3a52b851697dd671bc.tar.gz
openbsd-b303e332970ffd772a791a3a52b851697dd671bc.tar.bz2
openbsd-b303e332970ffd772a791a3a52b851697dd671bc.zip
unifdef OPENSSL_NO_NEXTPROTONEG, which is one of the last standing #ifndef
mazes in libssl. NPN is being replaced by ALPN, however it is still going to be around for a while yet. ok miod@
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
-rw-r--r--src/lib/libssl/s3_lib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/s3_lib.c b/src/lib/libssl/s3_lib.c
index 4beee2d53c..21e339525c 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.87 2014/12/10 15:36:47 jsing Exp $ */ 1/* $OpenBSD: s3_lib.c,v 1.88 2014/12/14 14:34:43 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 *
@@ -1927,11 +1927,9 @@ ssl3_clear(SSL *s)
1927 s->s3->in_read_app_data = 0; 1927 s->s3->in_read_app_data = 0;
1928 s->version = SSL3_VERSION; 1928 s->version = SSL3_VERSION;
1929 1929
1930#ifndef OPENSSL_NO_NEXTPROTONEG
1931 free(s->next_proto_negotiated); 1930 free(s->next_proto_negotiated);
1932 s->next_proto_negotiated = NULL; 1931 s->next_proto_negotiated = NULL;
1933 s->next_proto_negotiated_len = 0; 1932 s->next_proto_negotiated_len = 0;
1934#endif
1935} 1933}
1936 1934
1937 1935