提交 71a64af3 编写于 作者: D Dr. Stephen Henson

Skip PSK tests for no-psk

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 9076bd25
......@@ -468,11 +468,19 @@ sub testssl {
'test tlsv1 with 1024bit RSA, 1024bit DHE, multiple handshakes');
}
}
{
SKIP: {
skip "skipping PSK tests", 2
if ($no_psk);
ok(run(test([@ssltest, "-tls1", "-cipher", "PSK", "-psk", "abc123", @extra])),
'test tls1 with PSK');
ok(run(test([@ssltest, "-bio_pair", "-tls1", "-cipher", "PSK", "-psk", "abc123", @extra])),
'test tls1 with PSK via BIO pair');
}
}
};
subtest 'Next Protocol Negotiation Tests' => sub {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册