Fix possible unused rhSize.

This commit is contained in:
David Garske
2020-09-16 09:51:09 -07:00
parent b5163bd1fa
commit 7e2d44ba9a

View File

@ -3442,6 +3442,8 @@ static int DoHandShake(const byte* input, int* sslBytes,
int ret = 0;
WOLFSSL* ssl;
(void)rhSize;
#ifdef HAVE_MAX_FRAGMENT
if (session->tlsFragBuf) {
XMEMCPY(session->tlsFragBuf + session->tlsFragOffset, input, rhSize);