mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Fixed the fix of CID 578018
This commit is contained in:
@ -40281,7 +40281,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl)
|
|||||||
WOLFSSL_MSG("Serial size error");
|
WOLFSSL_MSG("Serial size error");
|
||||||
return WOLFSSL_FAILURE;
|
return WOLFSSL_FAILURE;
|
||||||
}
|
}
|
||||||
if (sizeof(cert->serial) < serialSz) {
|
if ((int)sizeof(cert->serial) < serialSz) {
|
||||||
WOLFSSL_MSG("Serial buffer too small");
|
WOLFSSL_MSG("Serial buffer too small");
|
||||||
return BUFFER_E;
|
return BUFFER_E;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user