This is an automated email from the ASF dual-hosted git repository. dsoumis pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 69d20902cba359ce60f34ba163c8aa0e498b9c05 Author: Dimitris Soumis <[email protected]> AuthorDate: Fri Oct 30 01:02:52 2026 +0200 Catch RuntimeException in case of weird provider --- java/org/apache/tomcat/util/net/SSLUtilBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/SSLUtilBase.java b/java/org/apache/tomcat/util/net/SSLUtilBase.java index 0487ad1288..27a4d4a1c4 100644 --- a/java/org/apache/tomcat/util/net/SSLUtilBase.java +++ b/java/org/apache/tomcat/util/net/SSLUtilBase.java @@ -550,7 +550,7 @@ public abstract class SSLUtilBase implements SSLUtil { List<String> objectIdentifiers; try { objectIdentifiers = cert.getExtendedKeyUsage(); - } catch (CertificateParsingException e) { + } catch (CertificateParsingException | RuntimeException e) { return false; } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
