From: Matt Caswell Date: Wed, 2 Dec 2020 13:19:52 +0000 (+0000) Subject: Skip cms tests using RC2 if no legacy provider X-Git-Tag: openssl-3.0.0-alpha10~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=730bee525368eb01fbf221d9b1bcf590ccb5153f;p=thirdparty%2Fopenssl.git Skip cms tests using RC2 if no legacy provider Fixes #12510 Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13595) --- diff --git a/test/recipes/80-test_cms.t b/test/recipes/80-test_cms.t index 2cc778624ba..6783897139a 100644 --- a/test/recipes/80-test_cms.t +++ b/test/recipes/80-test_cms.t @@ -49,6 +49,8 @@ my $smcont_zero = srctop_file("test", "smcont_zero.txt"); my ($no_des, $no_dh, $no_dsa, $no_ec, $no_ec2m, $no_rc2, $no_zlib) = disabled qw/des dh dsa ec ec2m rc2 zlib/; +$no_rc2 = 1 if disabled("legacy"); + plan tests => ($no_fips ? 0 : 1) # FIPS install test + 10;