Commit 5f21b440 authored by Benjamin Kaduk's avatar Benjamin Kaduk Committed by Ben Kaduk
Browse files

Fix test_tls13messages with no-ocsp



s_client -status is not available in this configuration.

While here, remove an outdated TODO(TLS1.3) comment.

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4873)
parent cb091295
Loading
Loading
Loading
Loading
+31 −30
Original line number Diff line number Diff line
@@ -170,6 +170,9 @@ checkhandshake($proxy, checkhandshake::RESUME_HANDSHAKE,
                | checkhandshake::PSK_SRV_EXTENSION),
               "Resumption handshake test");

SKIP: {
    skip "No OCSP support in this OpenSSL build", 3
        if disabled("ct") || disabled("ec") || disabled("ocsp");
    #Test 3: A status_request handshake (client request only)
    $proxy->clear();
    $proxy->clientflags("-status");
@@ -189,9 +192,6 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
                   "status_request handshake test (server)");

    #Test 5: A status_request handshake (client and server)
#TODO(TLS1.3): TLS1.3 doesn't actually have CertificateStatus messages. This is
#a temporary test until such time as we do proper TLS1.3 style certificate
#status
    $proxy->clear();
    $proxy->clientflags("-status");
    $proxy->serverflags("-status_file "
@@ -202,6 +202,7 @@ checkhandshake($proxy, checkhandshake::DEFAULT_HANDSHAKE,
                   | checkhandshake::STATUS_REQUEST_CLI_EXTENSION
                   | checkhandshake::STATUS_REQUEST_SRV_EXTENSION,
                   "status_request handshake test");
}

#Test 6: A client auth handshake
$proxy->clear();