1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 13:32:07 +01:00

Initialize keytsoreType with KeyStore.getDefaultType()

This commit is contained in:
Florian Schmaus 2017-11-22 22:34:56 +01:00
parent 853324a998
commit 32f681c6e5

View file

@ -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;