From 0129f6fb725ae2f072774d615fe251760cdedf06 Mon Sep 17 00:00:00 2001 From: Ruby Martin Date: Tue, 23 Jun 2026 15:06:53 -0600 Subject: [PATCH] Remove logically dead len and *data checks --- src/ocsp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ocsp.c b/src/ocsp.c index 540d787513..4048e7628e 100644 --- a/src/ocsp.c +++ b/src/ocsp.c @@ -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;