]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/x509/x_pubkey.c
configure: introduce no-ecx to remove ECX related feature
[thirdparty/openssl.git] / crypto / x509 / x_pubkey.c
index 6726cac857385aa99edb6a7e727a632e63c3b825..ec7d74af5f8da13344ce8088092229b87a423d57 100644 (file)
@@ -835,6 +835,7 @@ int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp)
     return ret;
 }
 
+# ifndef OPENSSL_NO_ECX
 ECX_KEY *ossl_d2i_ED25519_PUBKEY(ECX_KEY **a,
                                  const unsigned char **pp, long length)
 {
@@ -1002,6 +1003,7 @@ int ossl_i2d_X448_PUBKEY(const ECX_KEY *a, unsigned char **pp)
     return ret;
 }
 
+# endif /* OPENSSL_NO_ECX */ 
 #endif
 
 void X509_PUBKEY_set0_public_key(X509_PUBKEY *pub,