diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/80-test_ssl_old.t | 2 | ||||
-rw-r--r-- | test/ssltest_old.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/recipes/80-test_ssl_old.t b/test/recipes/80-test_ssl_old.t index 13fcfbe6df..67564e7970 100644 --- a/test/recipes/80-test_ssl_old.t +++ b/test/recipes/80-test_ssl_old.t @@ -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"]))); diff --git a/test/ssltest_old.c b/test/ssltest_old.c index 2cc25db018..0dae90fb20 100644 --- a/test/ssltest_old.c +++ b/test/ssltest_old.c @@ -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: @@ -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: |