forked from wolfSSL/wolfssl
Fix windows build warning with side data type mismatch.
This commit is contained in:
@ -1370,7 +1370,7 @@ void InitSSL_Method(WOLFSSL_METHOD* method, ProtocolVersion pv)
|
||||
}
|
||||
|
||||
#if defined(OPENSSL_EXTRA) || defined(WOLFSSL_EITHER_SIDE)
|
||||
int InitSSL_Side(WOLFSSL* ssl, int side)
|
||||
int InitSSL_Side(WOLFSSL* ssl, word16 side)
|
||||
{
|
||||
if (ssl == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
@ -1587,7 +1587,7 @@ typedef struct Suites Suites;
|
||||
WOLFSSL_LOCAL void InitSSL_Method(WOLFSSL_METHOD*, ProtocolVersion);
|
||||
|
||||
WOLFSSL_LOCAL int InitSSL_Suites(WOLFSSL* ssl);
|
||||
WOLFSSL_LOCAL int InitSSL_Side(WOLFSSL* ssl, int side);
|
||||
WOLFSSL_LOCAL int InitSSL_Side(WOLFSSL* ssl, word16 side);
|
||||
|
||||
/* for sniffer */
|
||||
WOLFSSL_LOCAL int DoFinished(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
|
||||
|
Reference in New Issue
Block a user