From 730bee525368eb01fbf221d9b1bcf590ccb5153f Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 2 Dec 2020 13:19:52 +0000 Subject: [PATCH] Skip cms tests using RC2 if no legacy provider Fixes #12510 Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/13595) --- test/recipes/80-test_cms.t | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.3