diff --git a/src/internal.c b/src/internal.c index a6989c419..30422bcde 100644 --- a/src/internal.c +++ b/src/internal.c @@ -2840,7 +2840,7 @@ void FreeX509(WOLFSSL_X509* x509) if (x509->altNames) FreeAltNames(x509->altNames, x509->heap); } - +#endif /* !NO_CERTS */ #endif /* !NO_DH || HAVE_ECC */ #ifndef NO_CERTS @@ -3774,8 +3774,6 @@ static int X25519MakeKey(WOLFSSL* ssl, curve25519_key* key, } #endif /* HAVE_CURVE25519 */ -#endif /* !NO_CERTS */ - #if !defined(NO_CERTS) || !defined(NO_PSK) #if !defined(NO_DH)