diff options
| author | jsing <> | 2014-12-14 14:34:43 +0000 |
|---|---|---|
| committer | jsing <> | 2014-12-14 14:34:43 +0000 |
| commit | 7f65acb8e319aa23abaf279f5a33cf12a9e69ac4 (patch) | |
| tree | d5225f7d83af44c76a58e948450d586798882cf9 /src/lib/libssl/s3_lib.c | |
| parent | ca4aa6ef2e6a4d193810c33351a5570dfeb4a058 (diff) | |
| download | openbsd-7f65acb8e319aa23abaf279f5a33cf12a9e69ac4.tar.gz openbsd-7f65acb8e319aa23abaf279f5a33cf12a9e69ac4.tar.bz2 openbsd-7f65acb8e319aa23abaf279f5a33cf12a9e69ac4.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.c | 4 |
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 | ||
