提交 2de94a36 编写于 作者: M Matt Caswell

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: NRich Salz <rsalz@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 d70bde88
......@@ -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) = @_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册