Remove logically dead len and *data checks

This commit is contained in:
Ruby Martin
2026-06-23 15:06:53 -06:00
parent ad1cd4789b
commit 0129f6fb72
-4
View File
@@ -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;