diff options
author | Bodo Möller <bodo@openssl.org> | 2002-08-12 08:47:41 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-08-12 08:47:41 +0000 |
commit | 5488bb6197b9af7a4670fb88936f0b53a9af0d2f (patch) | |
tree | 2ce305909c9ce5d5b2ecd52dd6757138586106b6 /ssl/s3_both.c | |
parent | 8e28c6715579d2ca7529de7aff257fa03a28bf93 (diff) |
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
Submitted by: Nils Larsch
Diffstat (limited to 'ssl/s3_both.c')
-rw-r--r-- | ssl/s3_both.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ssl/s3_both.c b/ssl/s3_both.c index a5588360e5..2e03a70fc7 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -526,10 +526,7 @@ int ssl_cert_type(X509 *x, EVP_PKEY *pkey) } } #ifndef OPENSSL_NO_EC - /* XXX: Structurally, there is no distinction between - * ECDSA and ECDH public keys (both are ECPoints). - * So EVP_PKEY_ECDSA should really be renamed EVP_PKEY_ECC - * (or similar). As for ECC certificates, additional + /* As for ECC certificates, additional * information (e.g. in the optional key usage X509v3 * extension) could be used when available to distinguish * between ECDH and ECDSA certificates. For now, we do not @@ -537,7 +534,7 @@ int ssl_cert_type(X509 *x, EVP_PKEY *pkey) * of checking for appropriate key usage to the SSL code * responsible for sending/processing ECC certificates. */ - else if (i == EVP_PKEY_ECDSA) + else if (i == EVP_PKEY_EC) { ret = SSL_PKEY_ECC; } |