Fix unused parameters in SKIP_SUITE.

This commit is contained in:
John Safranek
2020-10-09 15:59:14 -07:00
parent 6cfb038d11
commit a05a305d70

View File

@ -43504,6 +43504,8 @@ unsigned long wolfSSL_ERR_peek_error_line_data(const char **file, int *line,
static WC_INLINE int SKIP_SUITE(byte suite0, byte suite) static WC_INLINE int SKIP_SUITE(byte suite0, byte suite)
{ {
(void)suite0;
(void)suite;
#ifdef HAVE_RENEGOTIATION_INDICATION #ifdef HAVE_RENEGOTIATION_INDICATION
if (suite0 == CIPHER_BYTE && suite == TLS_EMPTY_RENEGOTIATION_INFO_SCSV) if (suite0 == CIPHER_BYTE && suite == TLS_EMPTY_RENEGOTIATION_INFO_SCSV)
return 1; return 1;