summaryrefslogtreecommitdiffstats
path: root/test/recipes/80-test_dane.t
blob: e0aa524250de764bb164281bb6f45dc638037e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /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");