Skip to content

Commit f21b021

Browse files
Merge pull request #5590 from SparkiDev/tlsx_symbol_fix
TLSX: function not used
2 parents 8b641df + e8d5cf9 commit f21b021

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tls.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ int TLSX_HandleUnsupportedExtension(WOLFSSL* ssl)
14051405

14061406
#endif
14071407

1408+
#if !defined(NO_WOLFSSL_SERVER) || defined(WOLFSSL_TLS13)
14081409
/** Mark an extension to be sent back to the client. */
14091410
static void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type)
14101411
{
@@ -1413,6 +1414,7 @@ static void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type)
14131414
if (extension)
14141415
extension->resp = 1;
14151416
}
1417+
#endif
14161418

14171419
/******************************************************************************/
14181420
/* Application-Layer Protocol Negotiation */

0 commit comments

Comments
 (0)