Fix no-ct, skip tests recipes that try to test CT

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2096)
This commit is contained in:
Richard Levitte 2016-12-16 10:29:43 +01:00
parent 97043e46aa
commit a05bed1952

View file

@ -265,6 +265,9 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
| checkhandshake::ALPN_SRV_EXTENSION,
"ALPN handshake test");
SKIP: {
skip "No CT support in this OpenSSL build", 1 if disabled("ct");
#Test 14: SCT handshake (client request only)
$proxy->clear();
#Note: -ct also sends status_request
@ -278,6 +281,7 @@ checkhandshake($proxy, checkhandshake::OCSP_HANDSHAKE,
| checkhandshake::STATUS_REQUEST_CLI_EXTENSION
| checkhandshake::STATUS_REQUEST_SRV_EXTENSION,
"SCT handshake test (client)");
}
#Test 15: SCT handshake (server support only)
$proxy->clear();
@ -290,6 +294,9 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
checkhandshake::DEFAULT_EXTENSIONS,
"SCT handshake test (server)");
SKIP: {
skip "No CT support in this OpenSSL build", 1 if disabled("ct");
#Test 16: SCT handshake (client and server)
#There is no built-in server side support for this so we are actually also
#testing custom extensions here
@ -307,6 +314,7 @@ checkhandshake($proxy, checkhandshake::OCSP_HANDSHAKE,
| checkhandshake::STATUS_REQUEST_CLI_EXTENSION
| checkhandshake::STATUS_REQUEST_SRV_EXTENSION,
"SCT handshake test");
}
#Test 17: NPN handshake (client request only)