diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-11 12:41:19 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-11 15:22:43 +0200 |
commit | 1595ca029cbc1f76971843d89ed06b6ffbf17c84 (patch) | |
tree | 73fc2ea13d48087fdffaa67d01f46a1809bb73c2 /test | |
parent | BIO: respect opening in text mode (diff) | |
download | openssl-1595ca029cbc1f76971843d89ed06b6ffbf17c84.tar.xz openssl-1595ca029cbc1f76971843d89ed06b6ffbf17c84.zip |
Fix the no-nextprotoneg option
Misc fixes to get no-nextprotoneg config option working again.
Reviewed-by: Rich Salz <rsalz@openssl.org>
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: |