diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-19 17:05:59 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-19 17:05:59 +0000 |
commit | ee1d9ec019a7584482bd95891404f1cad66a4a0a (patch) | |
tree | 54973962e56f5e576096c999be3b2bc3ca19c0fa /apps/x509.c | |
parent | 614b448a67839c2af96aa6aee8856dfffb025293 (diff) | |
download | openssl-ee1d9ec019a7584482bd95891404f1cad66a4a0a.tar.gz |
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.
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 2 |
1 files changed, 2 insertions, 0 deletions
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(); @@ -920,6 +921,7 @@ bad: if (Upkey->type == EVP_PKEY_EC) digest=EVP_ecdsa(); #endif +#endif assert(need_rand); if (!sign(x,Upkey,days,clrext,digest, |