Merge pull request #1333 from SparkiDev/tls13_no_server

Make TLSX_SetResponse available in client and server
This commit is contained in:
dgarske
2018-01-22 07:43:37 -08:00
committed by GitHub

View File

@@ -993,8 +993,6 @@ int TLSX_HandleUnsupportedExtension(WOLFSSL* ssl)
#endif #endif
#ifndef NO_WOLFSSL_SERVER
/** Mark an extension to be sent back to the client. */ /** Mark an extension to be sent back to the client. */
void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type); void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type);
@@ -1006,8 +1004,6 @@ void TLSX_SetResponse(WOLFSSL* ssl, TLSX_Type type)
extension->resp = 1; extension->resp = 1;
} }
#endif
/******************************************************************************/ /******************************************************************************/
/* Application-Layer Protocol Negotiation */ /* Application-Layer Protocol Negotiation */
/******************************************************************************/ /******************************************************************************/