summaryrefslogtreecommitdiff
path: root/src/usr.bin/openssl/s_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr.bin/openssl/s_client.c')
-rw-r--r--src/usr.bin/openssl/s_client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr.bin/openssl/s_client.c b/src/usr.bin/openssl/s_client.c
index 12c9bd2c2d..37a8280d15 100644
--- a/src/usr.bin/openssl/s_client.c
+++ b/src/usr.bin/openssl/s_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: s_client.c,v 1.6 2014/11/06 14:50:12 jsing Exp $ */ 1/* $OpenBSD: s_client.c,v 1.7 2014/11/07 14:16:48 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 *
@@ -638,7 +638,7 @@ bad:
638 goto end; 638 goto end;
639 } 639 }
640 640
641#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG) 641#if !defined(OPENSSL_NO_NEXTPROTONEG)
642 next_proto.status = -1; 642 next_proto.status = -1;
643 if (next_proto_neg_in) { 643 if (next_proto_neg_in) {
644 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in); 644 next_proto.data = next_protos_parse(&next_proto.len, next_proto_neg_in);
@@ -734,7 +734,7 @@ bad:
734 if (socket_type == SOCK_DGRAM) 734 if (socket_type == SOCK_DGRAM)
735 SSL_CTX_set_read_ahead(ctx, 1); 735 SSL_CTX_set_read_ahead(ctx, 1);
736 736
737#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG) 737#if !defined(OPENSSL_NO_NEXTPROTONEG)
738 if (next_proto.data) 738 if (next_proto.data)
739 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto); 739 SSL_CTX_set_next_proto_select_cb(ctx, next_proto_cb, &next_proto);
740#endif 740#endif
@@ -1243,7 +1243,7 @@ end:
1243 print_stuff(bio_c_out, con, 1); 1243 print_stuff(bio_c_out, con, 1);
1244 SSL_free(con); 1244 SSL_free(con);
1245 } 1245 }
1246#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG) 1246#if !defined(OPENSSL_NO_NEXTPROTONEG)
1247 free(next_proto.data); 1247 free(next_proto.data);
1248#endif 1248#endif
1249 if (ctx != NULL) 1249 if (ctx != NULL)
@@ -1399,7 +1399,7 @@ print_stuff(BIO * bio, SSL * s, int full)
1399 } 1399 }
1400#endif 1400#endif
1401 1401
1402#if !defined(OPENSSL_NO_TLSEXT) && !defined(OPENSSL_NO_NEXTPROTONEG) 1402#if !defined(OPENSSL_NO_NEXTPROTONEG)
1403 if (next_proto.status != -1) { 1403 if (next_proto.status != -1) {
1404 const unsigned char *proto; 1404 const unsigned char *proto;
1405 unsigned int proto_len; 1405 unsigned int proto_len;