X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fpkcs7%2Fsign.c;h=22290e192ccfb15b36e78d47e5a8a63f9ecf113b;hb=37e48b88adda9334fedf83e18f1bff72b4b9c8cf;hp=61dc2b187e14da29f03570b7fbb717bb10bb4c0d;hpb=27ad06a62735702b9702a605086b155a20557c5f;p=oweals%2Fopenssl.git diff --git a/crypto/pkcs7/sign.c b/crypto/pkcs7/sign.c index 61dc2b187e..22290e192c 100644 --- a/crypto/pkcs7/sign.c +++ b/crypto/pkcs7/sign.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ #include +#include #include #include #include @@ -75,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: