The fix for CVE-2012-2110 did not take into account that the
[openssl.git] / apps / progs.pl
index d74cfdc0f18010b84b0f96dbc17012323e702235..645432cfcc23394be403f45874fecf2a7dd650c0 100644 (file)
@@ -43,6 +43,8 @@ foreach (@ARGV)
                { print "#ifndef OPENSSL_NO_DH\n${str}#endif\n"; }
        elsif ( ($_ =~ /^pkcs12$/))
                { print "#if !defined(OPENSSL_NO_DES) && !defined(OPENSSL_NO_SHA1)\n${str}#endif\n"; }
+       elsif ( ($_ =~ /^cms$/))
+               { print "#ifndef OPENSSL_NO_CMS\n${str}#endif\n"; }
        else
                { print $str; }
        }