Fix CT test_sslmessages hangs

The CT tests in test_sslmessages require EC to be available, therefore
we must skip these if no-ec

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2153)
This commit is contained in:
Matt Caswell 2016-12-29 10:42:15 +00:00
parent 3cf96e88b7
commit 0a6793c942

View File

@ -275,7 +275,8 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
"ALPN handshake test");
SKIP: {
skip "No CT support in this OpenSSL build", 1 if disabled("ct");
skip "No CT and/or EC support in this OpenSSL build", 1
if disabled("ct") || disabled("ec");
#Test 14: SCT handshake (client request only)
$proxy->clear();
@ -304,7 +305,8 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
"SCT handshake test (server)");
SKIP: {
skip "No CT support in this OpenSSL build", 1 if disabled("ct");
skip "No CT and/or EC support in this OpenSSL build", 1
if disabled("ct") || disabled("ec");
#Test 16: SCT handshake (client and server)
#There is no built-in server side support for this so we are actually also