JSSE: skip 'loaded trusted root cert' log when CA load fails

pull/363/head
Chris Conlon 2026-04-30 15:24:54 -06:00
parent 57f35cff0c
commit 21bd6de65d
1 changed files with 2 additions and 0 deletions

View File

@ -364,10 +364,12 @@ public class WolfSSLContext extends SSLContextSpi {
/* skip loading if encoding error is encountered */
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
() -> "skipped loading CA, encoding error");
continue;
} catch (WolfSSLJNIException we) {
/* skip loading if wolfSSL fails to load der encoding */
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,
() -> "skipped loading CA, JNI exception");
continue;
}
final String sigAltName = caList[i].getSigAlgName();