Remove dss1 hack from S/MIME code.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 19 Apr 2006 17:47:15 +0000 (17:47 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 19 Apr 2006 17:47:15 +0000 (17:47 +0000)
crypto/pkcs7/pk7_doit.c

index c2203f5..67bb826 100644 (file)
@@ -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);