diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-29 14:56:06 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-12-08 17:19:46 +0000 |
commit | 2de94a3601863a74a52a07fa5743b0f85984e755 (patch) | |
tree | 6b91ba7f589a061af7b15d6f554ad742c23942f1 /test | |
parent | d70bde8805800473da0f25671902f1b4b07eecca (diff) |
Enable status_request test in test_sslmessages
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>
Diffstat (limited to 'test')
-rwxr-xr-x | test/recipes/70-test_sslmessages.t | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/test/recipes/70-test_sslmessages.t b/test/recipes/70-test_sslmessages.t index cb5700a269..360824c720 100755 --- a/test/recipes/70-test_sslmessages.t +++ b/test/recipes/70-test_sslmessages.t @@ -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) = @_; |