mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
-precert doesn't work when configured no-ct, don't try to test it then
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2827)
This commit is contained in:
parent
a4c5f8593c
commit
51f5930ae6
@ -13,6 +13,7 @@ use warnings;
|
||||
use POSIX;
|
||||
use File::Path 2.00 qw/rmtree/;
|
||||
use OpenSSL::Test qw/:DEFAULT cmdstr srctop_file/;
|
||||
use OpenSSL::Test::Utils;
|
||||
|
||||
setup("test_ca");
|
||||
|
||||
@ -42,6 +43,9 @@ plan tests => 5;
|
||||
ok(run(perlapp(["CA.pl", "-verify", "newcert.pem"])),
|
||||
'verifying new certificate');
|
||||
|
||||
skip "CT not configured, can't use -precert", 1
|
||||
if disabled("ct");
|
||||
|
||||
$ENV{OPENSSL_CONFIG} = "-config ".srctop_file("test", "Uss.cnf");
|
||||
ok(run(perlapp(["CA.pl", "-precert"], stderr => undef)),
|
||||
'creating new pre-certificate');
|
||||
|
Loading…
Reference in New Issue
Block a user