diff --git a/src/ssl.c b/src/ssl.c index 0cd4d57a9..a1c12f7d5 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -4544,8 +4544,8 @@ int ProcessBuffer(WOLFSSL_CTX* ctx, const unsigned char* buff, } if (ssl && resetSuites) { - int havePSK = 0; - int haveRSA = 0; + word16 havePSK = 0; + word16 haveRSA = 0; #ifndef NO_PSK if (ssl->options.havePSK) {