diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 6ed0f6987..f9c73635f 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -9204,7 +9204,7 @@ int wc_EccPrivateKeyDecode(const byte* input, word32* inOutIdx, ecc_key* key, return ret; } -#ifdef WOLFSSL_CERT_EXT + int wc_EccPublicKeyDecode(const byte* input, word32* inOutIdx, ecc_key* key, word32 inSz) { @@ -9258,7 +9258,6 @@ int wc_EccPublicKeyDecode(const byte* input, word32* inOutIdx, return 0; } -#endif #ifdef WOLFSSL_KEY_GEN