diff options
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r-- | crypto/x509/x509type.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 8e78b34458..7673c1ba03 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -86,6 +86,9 @@ 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; + break; case EVP_PKEY_DH: ret=EVP_PK_DH|EVP_PKT_EXCH; break; @@ -102,6 +105,9 @@ 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; + break; default: break; } |