F-6734: treat an unset jdk.tls.disabledAlgorithms as empty in sanitizeProtocols

pull/400/head
Chris Conlon 2026-08-13 16:18:03 -06:00
parent a99a5fcb41
commit cdb0917f6c
1 changed files with 4 additions and 0 deletions

View File

@ -94,6 +94,10 @@ public class WolfSSLUtil {
WolfSSLDebug.log(WolfSSLUtil.class, WolfSSLDebug.INFO,
() -> "jdk.tls.disabledAlgorithms: " + tmpDisabledAlgos);
if (disabledAlgos == null) {
disabledAlgos = "";
}
/*
* WolfJSSE only supports DTLSv1.3, automatically add DTLSv1,
* and DTLSv1.2 to disabled algorithms for now */