diff --git a/src/tls.c b/src/tls.c index ea363430f..d02925f3d 100644 --- a/src/tls.c +++ b/src/tls.c @@ -64,14 +64,13 @@ #if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES) static int TLSX_KeyShare_IsSupported(int namedGroup); +static void TLSX_KeyShare_FreeAll(KeyShareEntry* list, void* heap); #endif #ifdef HAVE_SUPPORTED_CURVES static int TLSX_PopulateSupportedGroups(WOLFSSL* ssl, TLSX** extensions); #endif -static void TLSX_KeyShare_FreeAll(KeyShareEntry* list, void* heap); - #ifndef NO_TLS /* Digest enable checks */