summaryrefslogtreecommitdiffstats
path: root/apps/x509.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-04-19 17:05:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-04-19 17:05:59 +0000
commitee1d9ec019a7584482bd95891404f1cad66a4a0a (patch)
tree54973962e56f5e576096c999be3b2bc3ca19c0fa /apps/x509.c
parent614b448a67839c2af96aa6aee8856dfffb025293 (diff)
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.c2
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,