Make TLSX_SetResponse available in client and server

This commit is contained in:
Sean Parkinson
2018-01-21 18:12:34 -08:00
parent 4d1ebc0827
commit 6e6085501d

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 */
/******************************************************************************/ /******************************************************************************/