Loading apps/s_client.c +2 −0 Original line number Diff line number Diff line Loading @@ -1362,7 +1362,9 @@ int s_client_main(int argc, char **argv) } break; case OPT_NEXTPROTONEG: #ifndef OPENSSL_NO_NEXTPROTONEG next_proto_neg_in = opt_arg(); #endif break; case OPT_ALPN: alpn_in = opt_arg(); Loading ssl/t1_ext.c +2 −0 Original line number Diff line number Diff line Loading @@ -293,7 +293,9 @@ int SSL_extension_supported(unsigned int ext_type) case TLSEXT_TYPE_ec_point_formats: case TLSEXT_TYPE_elliptic_curves: case TLSEXT_TYPE_heartbeat: #ifndef OPENSSL_NO_NEXTPROTONEG case TLSEXT_TYPE_next_proto_neg: #endif case TLSEXT_TYPE_padding: case TLSEXT_TYPE_renegotiate: case TLSEXT_TYPE_server_name: Loading test/recipes/80-test_ssl_old.t +2 −0 Original line number Diff line number Diff line Loading @@ -568,6 +568,8 @@ sub testssl { SKIP: { skip "TLSv1.0 is not supported by this OpenSSL build", 7 if $no_tls1; skip "Next Protocol Negotiation is not supported by this OpenSSL build", 7 if disabled("nextprotoneg"); ok(run(test([@ssltest, "-bio_pair", "-tls1", "-npn_client"]))); ok(run(test([@ssltest, "-bio_pair", "-tls1", "-npn_server"]))); Loading test/ssltest_old.c +4 −0 Original line number Diff line number Diff line Loading @@ -2348,7 +2348,9 @@ int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, long count, goto err; } # ifndef OPENSSL_NO_NEXTPROTONEG end: # endif ret = 0; err: Loading Loading @@ -2729,7 +2731,9 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, goto err; } #ifndef OPENSSL_NO_NEXTPROTONEG end: #endif ret = 0; err: Loading Loading
apps/s_client.c +2 −0 Original line number Diff line number Diff line Loading @@ -1362,7 +1362,9 @@ int s_client_main(int argc, char **argv) } break; case OPT_NEXTPROTONEG: #ifndef OPENSSL_NO_NEXTPROTONEG next_proto_neg_in = opt_arg(); #endif break; case OPT_ALPN: alpn_in = opt_arg(); Loading
ssl/t1_ext.c +2 −0 Original line number Diff line number Diff line Loading @@ -293,7 +293,9 @@ int SSL_extension_supported(unsigned int ext_type) case TLSEXT_TYPE_ec_point_formats: case TLSEXT_TYPE_elliptic_curves: case TLSEXT_TYPE_heartbeat: #ifndef OPENSSL_NO_NEXTPROTONEG case TLSEXT_TYPE_next_proto_neg: #endif case TLSEXT_TYPE_padding: case TLSEXT_TYPE_renegotiate: case TLSEXT_TYPE_server_name: Loading
test/recipes/80-test_ssl_old.t +2 −0 Original line number Diff line number Diff line Loading @@ -568,6 +568,8 @@ sub testssl { SKIP: { skip "TLSv1.0 is not supported by this OpenSSL build", 7 if $no_tls1; skip "Next Protocol Negotiation is not supported by this OpenSSL build", 7 if disabled("nextprotoneg"); ok(run(test([@ssltest, "-bio_pair", "-tls1", "-npn_client"]))); ok(run(test([@ssltest, "-bio_pair", "-tls1", "-npn_server"]))); Loading
test/ssltest_old.c +4 −0 Original line number Diff line number Diff line Loading @@ -2348,7 +2348,9 @@ int doit_localhost(SSL *s_ssl, SSL *c_ssl, int family, long count, goto err; } # ifndef OPENSSL_NO_NEXTPROTONEG end: # endif ret = 0; err: Loading Loading @@ -2729,7 +2731,9 @@ int doit_biopair(SSL *s_ssl, SSL *c_ssl, long count, goto err; } #ifndef OPENSSL_NO_NEXTPROTONEG end: #endif ret = 0; err: Loading