aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-06-20 16:32:44 +0100
committerDr. Stephen Henson <steve@openssl.org>2017-06-21 14:11:01 +0100
commitd2916a5b29b3ef83126cfbc7be5c16e0c3c9a521 (patch)
treeac4f6dd7aefa296e3913c776cd938181b6a5fa7d /crypto/x509
parent29b0cab0174e1c1d02e549c0aaa2b08ab3051bd2 (diff)
downloadopenssl-d2916a5b29b3ef83126cfbc7be5c16e0c3c9a521.tar.gz
Use EVP_PKEY_X25519, EVP_PKEY_ED25519 instead of NIDs where appropriate.
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3585)
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c
index a1172e489d..a93e26e439 100644
--- a/crypto/x509/x509type.c
+++ b/crypto/x509/x509type.c
@@ -41,7 +41,7 @@ int X509_certificate_type(const X509 *x, const EVP_PKEY *pkey)
case EVP_PKEY_EC:
ret = EVP_PK_EC | EVP_PKT_SIGN | EVP_PKT_EXCH;
break;
- case NID_ED25519:
+ case EVP_PKEY_ED25519:
ret = EVP_PKT_SIGN;
break;
case EVP_PKEY_DH: