summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509type.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 /crypto/x509/x509type.c
parent8e28c6715579d2ca7529de7aff257fa03a28bf93 (diff)
get rid of EVP_PKEY_ECDSA (now we have EVP_PKEY_EC instead)
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r--crypto/x509/x509type.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c
index 7673c1ba03..8eaf102480 100644
--- a/crypto/x509/x509type.c
+++ b/crypto/x509/x509type.c
@@ -86,8 +86,8 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
case EVP_PKEY_DSA:
ret=EVP_PK_DSA|EVP_PKT_SIGN;
break;
- case EVP_PKEY_ECDSA:
- ret=EVP_PK_ECDSA|EVP_PKT_SIGN;
+ case EVP_PKEY_EC:
+ ret=EVP_PK_EC|EVP_PKT_SIGN|EVP_PKT_EXCH;
break;
case EVP_PKEY_DH:
ret=EVP_PK_DH|EVP_PKT_EXCH;
@@ -105,8 +105,8 @@ int X509_certificate_type(X509 *x, EVP_PKEY *pkey)
case EVP_PKS_DSA:
ret|=EVP_PKS_DSA;
break;
- case EVP_PKS_ECDSA:
- ret|=EVP_PKS_ECDSA;
+ case EVP_PKS_EC:
+ ret|=EVP_PKS_EC;
break;
default:
break;