Fix no-dtls* builds
authorMatt Caswell <matt@openssl.org>
Fri, 10 Jun 2016 09:49:48 +0000 (10:49 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 10 Jun 2016 14:53:21 +0000 (15:53 +0100)
Most of the no-dtls* builds were failing due to one test which had an
incorrect "skip" condition.

Reviewed-by: Andy Polyakov <appro@openssl.org>
test/recipes/80-test_ssl_old.t

index 59d48a02a0de944c856b22280a6d6995db4333f5..4b932fd0c666cb6ffbb9f95c4ed36a562eed919e 100644 (file)
@@ -756,7 +756,7 @@ sub testssl {
     subtest 'DTLS session reuse' => sub {
         plan tests => 12;
       SKIP: {
-        skip "DTLS disabled", 12 if $no_dtls;
+        skip "DTLS1.0 or DTLS1.2 disabled", 12 if $no_dtls1 || $no_dtls1_2;
 
         ok(run(test([@ssltest, "-dtls", "-server_sess_out", $server_sess, "-client_sess_out", $client_sess])));
         ok(run(test([@ssltest, "-dtls", "-server_sess_in", $server_sess, "-client_sess_in", $client_sess, "-should_reuse", "1", "-should_negotiate", "dtls1.2"])));