Skip to content

Commit 721591f

Browse files
committed
Align the FFM handling of OCSP TRY_LATER responses with Tomcat Native.
Patch by remm
1 parent 62f5d2f commit 721591f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

java/org/apache/tomcat/util/net/openssl/panama/OpenSSLEngine.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,8 @@ private static int processOCSPRequest(EngineState state, URL url, MemorySegment
14031403
return V_OCSP_CERTSTATUS_UNKNOWN();
14041404
}
14051405
return status;
1406+
} else {
1407+
X509_STORE_CTX_set_error(x509ctx, X509_V_ERR_UNABLE_TO_GET_CRL());
14061408
}
14071409
}
14081410
} catch (IOException ioe) {

webapps/docs/changelog.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@
202202
<update>
203203
Update the recommended version for Tomcat Native 2.x to 2.0.14. (markt)
204204
</update>
205+
<fix>
206+
Align the FFM handling of OCSP <code>TRY_LATER</code> responses with
207+
Tomcat Native. (remm)
208+
</fix>
205209
</changelog>
206210
</subsection>
207211
<subsection name="Jasper">

0 commit comments

Comments
 (0)