Skip to content

Commit d45e9cb

Browse files
committed
removed unnecessary code - relates to github #1789
1 parent af04b17 commit d45e9cb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

prov/src/main/java/org/bouncycastle/jce/provider/OcspCache.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ static OCSPResponse getOcspResponse(
7474
boolean matchFound = isCertIDFoundAndCurrent(basicResp, parameters.getValidDate(), certID);
7575
if (matchFound)
7676
{
77-
if (response != null)
78-
{
79-
return response;
80-
}
77+
return response;
8178
}
8279
else
8380
{

0 commit comments

Comments
 (0)