make no-des and no-rc2 work.
[openssl.git] / crypto / pkcs7 / verify.c
index 8ae903cc8ade33abdcb9b0a2748318084e88fdb7..49fc8d8bed6b76c5b9c8056b543c62dc00b19f99 100644 (file)
@@ -85,10 +85,18 @@ char *argv[];
 
        bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
        bio_out=BIO_new_fp(stdout,BIO_NOCLOSE);
+#ifndef NO_MD2
        EVP_add_digest(EVP_md2());
+#endif
+#ifndef NO_MD5
        EVP_add_digest(EVP_md5());
+#endif
+#ifndef NO_SHA1
        EVP_add_digest(EVP_sha1());
+#endif
+#ifndef NO_MDC2
        EVP_add_digest(EVP_mdc2());
+#endif
 
        data=BIO_new(BIO_s_file());