Commit 18cb0221 authored by Matt Caswell's avatar Matt Caswell
Browse files

Skip the CMS tests if CMS is disabled



This fixes the no-cms compile time option.

Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
parent 83ae8124
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -11,6 +11,9 @@ use OpenSSL::Test::Utils;

setup("test_cms");

plan skip_all => "CMS is not supported by this OpenSSL build"
    if disabled("cms");

my $smdir    = srctop_dir("test", "smime-certs");
my $smcont   = srctop_file("test", "smcont.txt");
my ($no_des, $no_dh, $no_dsa, $no_ec, $no_ec2m, $no_rc2, $no_zlib)