aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/sign.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pkcs7/sign.c')
-rw-r--r--crypto/pkcs7/sign.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/pkcs7/sign.c b/crypto/pkcs7/sign.c
index 367c00e0fa..22290e192c 100644
--- a/crypto/pkcs7/sign.c
+++ b/crypto/pkcs7/sign.c
@@ -76,10 +76,18 @@ char *argv[];
int i;
int nodetach=0;
+#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());
again: