From ee1d9ec019a7584482bd95891404f1cad66a4a0a Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 19 Apr 2006 17:05:59 +0000 Subject: Remove link between digests and signature algorithms. Use cross reference table in ASN1_item_sign(), ASN1_item_verify() to eliminate the need for algorithm specific code. --- apps/req.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/req.c') diff --git a/apps/req.c b/apps/req.c index 14bb0e0d03..b9a3852cfc 100644 --- a/apps/req.c +++ b/apps/req.c @@ -894,6 +894,7 @@ loop: BIO_printf(bio_err,"you need to specify a private key\n"); goto end; } +#if 0 #ifndef OPENSSL_NO_DSA if (pkey->type == EVP_PKEY_DSA) digest=EVP_dss1(); @@ -901,6 +902,7 @@ loop: #ifndef OPENSSL_NO_ECDSA if (pkey->type == EVP_PKEY_EC) digest=EVP_ecdsa(); +#endif #endif if (req == NULL) { -- cgit v1.2.3