Enable status_request test in test_sslmessages
authorMatt Caswell <matt@openssl.org>
Tue, 29 Nov 2016 14:56:06 +0000 (14:56 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 8 Dec 2016 17:19:46 +0000 (17:19 +0000)
The s_server option -status_file has been added so this test can be
enabled.

Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
test/recipes/70-test_sslmessages.t

index cb5700a269fecab1bbbff17027380b447fb8f134..360824c7202cc4305a5b631af42cc5ad27959d09 100755 (executable)
@@ -88,16 +88,12 @@ checkmessages(RESUME_HANDSHAKE, "Resumption handshake test");
 unlink $session;
 
 #Test 3: A default handshake, but with a CertificateStatus message
-#
-#TODO: PR #1932 adds the "-status_file" option below. Once added we can enable
-#this test
-#
-#$proxy->clear();
-#$proxy->clientflags("-no_tls1_3 -status");
-#$proxy->serverflags("-no_ticket -status_file "
-#                    .srctop_file("test", "recipes", "ocsp-response.der"));
-#$proxy->start();
-#checkmessages(OCSP_HANDSHAKE, "OCSP handshake test");
+$proxy->clear();
+$proxy->clientflags("-no_tls1_3 -status");
+$proxy->serverflags("-status_file "
+                    .srctop_file("test", "recipes", "ocsp-response.der"));
+$proxy->start();
+checkmessages(OCSP_HANDSHAKE, "OCSP handshake test");
 
 #Test 4: A client auth handshake
 $proxy->clear();
@@ -113,15 +109,6 @@ $proxy->reneg(1);
 $proxy->start();
 checkmessages(RENEG_HANDSHAKE, "Rengotiation handshake test");
 
-#Test 6: A handshake with a renegotiation and client auth
-$proxy->clear();
-$proxy->clientflags("-no_tls1_3 -cert ".srctop_file("apps", "server.pem"));
-$proxy->serverflags("-Verify 5");
-$proxy->reneg(1);
-$proxy->start();
-checkmessages(RENEG_HANDSHAKE | CLIENT_AUTH_HANDSHAKE,
-              "Renogitation and client auth handshake test");
-
 sub checkmessages($$)
 {
     my ($handtype, $testname) = @_;