mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 20:47:57 +01:00
Initialize keytsoreType with KeyStore.getDefaultType()
This commit is contained in:
parent
853324a998
commit
32f681c6e5
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@
|
|||
package org.jivesoftware.smack;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.security.KeyStore;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
|
@ -505,7 +506,7 @@ public abstract class ConnectionConfiguration {
|
|||
private SecurityMode securityMode = SecurityMode.ifpossible;
|
||||
private DnssecMode dnssecMode = DnssecMode.disabled;
|
||||
private String keystorePath = System.getProperty("javax.net.ssl.keyStore");
|
||||
private String keystoreType = "jks";
|
||||
private String keystoreType = KeyStore.getDefaultType();
|
||||
private String pkcs11Library = "pkcs11.config";
|
||||
private SSLContext customSSLContext;
|
||||
private String[] enabledSSLProtocols;
|
||||
|
|
Loading…
Reference in a new issue