X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=test%2Frecipes%2F80-test_ssl.t;h=6e5e22e49b9e95c84868f8f070ccd0235a78fa6f;hp=f84425dfd4ec752d57f5925e5f31944773569f36;hb=71a64af3312d4dfdff2597a979868d2bdd7e3642;hpb=9076bd25bfad9c661cad928331295bd5ec9b5af3 diff --git a/test/recipes/80-test_ssl.t b/test/recipes/80-test_ssl.t index f84425dfd4..6e5e22e49b 100644 --- a/test/recipes/80-test_ssl.t +++ b/test/recipes/80-test_ssl.t @@ -468,11 +468,19 @@ sub testssl { 'test tlsv1 with 1024bit RSA, 1024bit DHE, multiple handshakes'); } } - ok(run(test([@ssltest, "-tls1", "-cipher", "PSK", "-psk", "abc123", @extra])), - 'test tls1 with PSK'); + { + 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'); + } + } - 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 {