X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fpkcs7%2Fsign.c;h=22290e192ccfb15b36e78d47e5a8a63f9ecf113b;hb=37e48b88adda9334fedf83e18f1bff72b4b9c8cf;hp=367c00e0faa2d51c91965e8678545505f2fb37d0;hpb=f48158b85413677b72a27dd262d1be2931e84a5a;p=oweals%2Fopenssl.git 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: