mirror of
https://github.com/openssl/openssl.git
synced 2024-12-03 05:41:46 +08:00
74b31db68a
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>
18 lines
469 B
Perl
18 lines
469 B
Perl
#! /usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
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
|
|
|
|
ok(run(test(["danetest", "example.com",
|
|
top_file("test", "danetest.pem"),
|
|
top_file("test", "danetest.in")])), "dane tests");
|