Only run DANE tests when EC is supported
Since danetest is to test DANE rather than specific algorithms, it's acceptable to require EC when testing it. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
8106cb8b6d
commit
74b31db68a
@ -3,9 +3,13 @@
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
|
use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
|
||||||
|
use OpenSSL::Test::Utils;
|
||||||
|
|
||||||
setup("test_dane");
|
setup("test_dane");
|
||||||
|
|
||||||
|
plan skip_all => "test_dane uses ec which is not supported by this OpenSSL build"
|
||||||
|
if disabled("ec");
|
||||||
|
|
||||||
plan tests => 1; # The number of tests being performed
|
plan tests => 1; # The number of tests being performed
|
||||||
|
|
||||||
ok(run(test(["danetest", "example.com",
|
ok(run(test(["danetest", "example.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user