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/x509.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/x509.c') diff --git a/apps/x509.c b/apps/x509.c index 8d20681ec3..e3a97383a6 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -912,6 +912,7 @@ bad: passin, e, "Private key"); if (Upkey == NULL) goto end; } +#if 0 #ifndef OPENSSL_NO_DSA if (Upkey->type == EVP_PKEY_DSA) digest=EVP_dss1(); @@ -919,6 +920,7 @@ bad: #ifndef OPENSSL_NO_ECDSA if (Upkey->type == EVP_PKEY_EC) digest=EVP_ecdsa(); +#endif #endif assert(need_rand); -- cgit v1.2.3