summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/standard_methods.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/standard_methods.h')
-rw-r--r--crypto/asn1/standard_methods.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/crypto/asn1/standard_methods.h b/crypto/asn1/standard_methods.h
index 0b0c7ef686..0e2cdbd50e 100644
--- a/crypto/asn1/standard_methods.h
+++ b/crypto/asn1/standard_methods.h
@@ -32,11 +32,9 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = {
#ifndef OPENSSL_NO_DH
&ossl_dhx_asn1_meth,
#endif
-#ifndef OPENSSL_NO_EC
+#ifndef OPENSSL_NO_ECX
&ossl_ecx25519_asn1_meth,
&ossl_ecx448_asn1_meth,
-#endif
-#ifndef OPENSSL_NO_EC
&ossl_ed25519_asn1_meth,
&ossl_ed448_asn1_meth,
#endif