diff --git a/cyassl/internal.h b/cyassl/internal.h index 99f2980ee..67a814bbb 100644 --- a/cyassl/internal.h +++ b/cyassl/internal.h @@ -1430,7 +1430,6 @@ CYASSL_LOCAL int IsAtLeastTLSv1_2(const CYASSL* ssl); CYASSL_LOCAL void ShrinkInputBuffer(CYASSL* ssl, int forcedFree); CYASSL_LOCAL void ShrinkOutputBuffer(CYASSL* ssl); -CYASSL_LOCAL int SendHelloVerifyRequest(CYASSL* ssl); CYASSL_LOCAL Signer* GetCA(void* cm, byte* hash); CYASSL_LOCAL void BuildTlsFinished(CYASSL* ssl, Hashes* hashes, const byte* sender); diff --git a/cyassl/test.h b/cyassl/test.h index 82cee429e..d56e94e61 100644 --- a/cyassl/test.h +++ b/cyassl/test.h @@ -17,7 +17,7 @@ #include #include #endif - #define SOCKET_T int + #define SOCKET_T unsigned int #else #include #include @@ -36,7 +36,7 @@ #ifdef TEST_IPV6 #include #endif - #define SOCKET_T unsigned int + #define SOCKET_T int #endif /* USE_WINDOWS_API */ #ifdef _MSC_VER diff --git a/src/internal.c b/src/internal.c index c2c5d565e..c6547b478 100644 --- a/src/internal.c +++ b/src/internal.c @@ -2130,6 +2130,7 @@ static int DoHandShakeMsgType(CYASSL* ssl, byte* input, word32* inOutIdx, byte type, word32 size, word32 totalSz) { int ret = 0; + (void)totalSz; CYASSL_ENTER("DoHandShakeMsgType");