Skip to content

Commit f21fb17

Browse files
committed
Skip OCSP for LibreSSL
1 parent c89e047 commit f21fb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ private static void parseOCSPURLs(Asn1Parser parser, ArrayList<String> urls) {
13001300

13011301
private static int processOCSPRequest(EngineState state, URL url, MemorySegment issuer, MemorySegment x509,
13021302
MemorySegment /* X509_STORE_CTX */ x509ctx, Arena localArena) {
1303-
if (openssl_h_Compatibility.BORINGSSL) {
1303+
if (openssl_h_Compatibility.BORINGSSL || openssl_h_Compatibility.LIBRESSL) {
13041304
return V_OCSP_CERTSTATUS_UNKNOWN();
13051305
}
13061306
MemorySegment ocspRequest = MemorySegment.NULL;

0 commit comments

Comments
 (0)