forked from wolfSSL/wolfssl
fixes scan-build warnings
This commit is contained in:
@ -362,7 +362,7 @@ int CheckOcspRequest(WOLFSSL_OCSP* ocsp, OcspRequest* ocspRequest,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (responseBuffer && responseBuffer->buffer) {
|
if (status && responseBuffer && responseBuffer->buffer) {
|
||||||
status->rawOcspResponse = (byte*)XMALLOC(
|
status->rawOcspResponse = (byte*)XMALLOC(
|
||||||
responseBuffer->length, NULL,
|
responseBuffer->length, NULL,
|
||||||
DYNAMIC_TYPE_OCSP_STATUS);
|
DYNAMIC_TYPE_OCSP_STATUS);
|
||||||
|
Reference in New Issue
Block a user