diff options
author | Bodo Möller <bodo@openssl.org> | 2002-08-12 10:47:41 +0200 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-08-12 10:47:41 +0200 |
commit | 5488bb6197b9af7a4670fb88936f0b53a9af0d2f (patch) | |
tree | 2ce305909c9ce5d5b2ecd52dd6757138586106b6 /apps/req.c | |
parent | add 0.9.6g information (diff) | |
download | openssl-5488bb6197b9af7a4670fb88936f0b53a9af0d2f.tar.xz openssl-5488bb6197b9af7a4670fb88936f0b53a9af0d2f.zip |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c index b6bc85e387..1f24be79bd 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) |