summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-07-18 20:59:30 +0100
committerMatt Caswell <matt@openssl.org>2016-07-19 14:01:33 +0100
commitdf0aa7770e09677b746843f2ba33e2897f615d93 (patch)
tree6ac6494b07e0378d0655cae3255c55b6f9cf2a6b /test
parent642a166ce1d33048f19b0262e864fedce34960ac (diff)
Fix building with no-cms
The new fuzzing code broke no-cms Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/recipes/05-test_fuzz.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/05-test_fuzz.t b/test/recipes/05-test_fuzz.t
index ec5c5ad4ed..c992e19574 100755
--- a/test/recipes/05-test_fuzz.t
+++ b/test/recipes/05-test_fuzz.t
@@ -11,10 +11,14 @@ use warnings;
use if $^O ne "VMS", 'File::Glob' => qw/glob/;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
+use OpenSSL::Test::Utils;
setup("test_fuzz");
-my @fuzzers = ('asn1', 'asn1parse', 'bignum', 'bndiv', 'cms', 'conf', 'crl', 'ct', 'server', 'x509');
+my @fuzzers = ('asn1', 'asn1parse', 'bignum', 'bndiv', 'conf', 'crl', 'ct', 'server', 'x509');
+if (!disabled("cms")) {
+ push @fuzzers, 'cms';
+}
plan tests => scalar @fuzzers;
foreach my $f (@fuzzers) {