RT3674: Make no-cms build work.
[openssl.git] / test / cms-test.pl
index baa3b5948a4428aeccae1e1b1322eed0029d618a..1ee3f02e87d591c8f2412aedf0b45b2332cb5aa9 100644 (file)
@@ -100,6 +100,13 @@ my $no_ec2m;
 my $no_ecdh;
 my $ossl8 = `$ossl_path version -v` =~ /0\.9\.8/;
 
+system ("$ossl_path no-cms > $null_path");
+if ($? == 0)
+        {
+        print "CMS disabled\n";
+        exit 0;
+        }
+
 system ("$ossl_path no-ec > $null_path");
 if ($? == 0)
        {