mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 14:00:48 +02:00
Remove logically dead len and *data checks
This commit is contained in:
@@ -1188,10 +1188,6 @@ OcspResponse* wolfSSL_d2i_OCSP_RESPONSE(OcspResponse** response,
|
||||
|
||||
if (data == NULL || *data == NULL || len <= 0)
|
||||
return NULL;
|
||||
if (*data == NULL)
|
||||
return NULL;
|
||||
if (len <= 0)
|
||||
return NULL;
|
||||
|
||||
if (response != NULL)
|
||||
resp = *response;
|
||||
|
||||
Reference in New Issue
Block a user