aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/sign.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-01-07 12:15:54 +0000
committerBodo Möller <bodo@openssl.org>2000-01-07 12:15:54 +0000
commit63da21c01ba1b4fa4bd5adb8b3b36567025b8e15 (patch)
tree3538d02fe0742b65179cce5356ac32f3cd587837 /crypto/pkcs7/sign.c
parentb64e735b08c98ec98e597bc9c306b18692bcf49f (diff)
downloadopenssl-63da21c01ba1b4fa4bd5adb8b3b36567025b8e15.tar.gz
make no-des and no-rc2 work.
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: