Commit 3d153f79 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Remove dss1 hack from S/MIME code.

parent ee1d9ec0
Loading
Loading
Loading
Loading
+2
Changes for crypto/pkcs7/pk7_doit.c: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -946,11 +946,13 @@ for (ii=0; ii<md_len; ii++) printf("%02X",md_dat[ii]); printf(" calc\n");
		ret = -1;
		goto err;
		}
#if 0
#ifndef OPENSSL_NO_DSA
	if(pkey->type == EVP_PKEY_DSA) mdc_tmp.digest=EVP_dss1();
#endif
#ifndef OPENSSL_NO_ECDSA
	if (pkey->type == EVP_PKEY_EC) mdc_tmp.digest=EVP_ecdsa();
#endif
#endif

	i=EVP_VerifyFinal(&mdc_tmp,os->data,os->length, pkey);