aboutsummaryrefslogtreecommitdiff
path: root/apps/req.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2002-08-12 08:47:41 +0000
committerBodo Möller <bodo@openssl.org>2002-08-12 08:47:41 +0000
commit5488bb6197b9af7a4670fb88936f0b53a9af0d2f (patch)
tree2ce305909c9ce5d5b2ecd52dd6757138586106b6 /apps/req.c
parent8e28c6715579d2ca7529de7aff257fa03a28bf93 (diff)
downloadopenssl-5488bb6197b9af7a4670fb88936f0b53a9af0d2f.zip
openssl-5488bb6197b9af7a4670fb88936f0b53a9af0d2f.tar.gz
openssl-5488bb6197b9af7a4670fb88936f0b53a9af0d2f.tar.bz2
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
Submitted by: Nils Larsch
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index b6bc85e..1f24be7 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -682,7 +682,8 @@ bad:
message */
goto end;
}
- if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA || EVP_PKEY_type(pkey->type) == EVP_PKEY_ECDSA)
+ if (EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA ||
+ EVP_PKEY_type(pkey->type) == EVP_PKEY_EC)
{
char *randfile = NCONF_get_string(req_conf,SECTION,"RANDFILE");
if (randfile == NULL)
@@ -852,7 +853,7 @@ loop:
digest=EVP_dss1();
#endif
#ifndef OPENSSL_NO_ECDSA
- if (pkey->type == EVP_PKEY_ECDSA)
+ if (pkey->type == EVP_PKEY_EC)
digest=EVP_ecdsa();
#endif
if (req == NULL)