fix HTTP up/download for users that dont trust system CAs
This commit is contained in:
parent
fb681dfd60
commit
55b2f2656d
|
@ -619,7 +619,7 @@ public class MemorizingTrustManager {
|
|||
|
||||
private X509Certificate[] getAcceptedIssuers() {
|
||||
LOGGER.log(Level.FINE, "getAcceptedIssuers()");
|
||||
return defaultTrustManager.getAcceptedIssuers();
|
||||
return defaultTrustManager == null ? new X509Certificate[0] : defaultTrustManager.getAcceptedIssuers();
|
||||
}
|
||||
|
||||
private int createDecisionId(MTMDecision d) {
|
||||
|
|
Loading…
Reference in New Issue