From e8d5cf96627da66583c4f88a800750dad1016646 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Tue, 13 Sep 2022 15:01:07 +1000 Subject: [PATCH] TLSX: function not used --- src/tls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tls.c b/src/tls.c index 9419ac082..54269ad72 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1405,6 +1405,7 @@ int TLSX_HandleUnsupportedExtension(WOLFSSL* ssl) #endif +#if !defined(NO_WOLFSSL_SERVER) || defined(WOLFSSL_TLS13) /** Mark an extension to be sent back to the client. */ static void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type) { @@ -1413,6 +1414,7 @@ static void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type) if (extension) extension->resp = 1; } +#endif /******************************************************************************/ /* Application-Layer Protocol Negotiation */