Skip to content
Permalink
Browse files

Updated deprecated thing

  • Loading branch information...
Miggets7 committed Oct 8, 2019
1 parent 2b3f689 commit 254e49870bc2cbfa5245a45524f39ce078b4b3e7
@@ -91,7 +91,7 @@ protected void prepareSocket(SSLSocket socket) throws IOException {
};
} else if (that.clientKeyStore != null || that.truststore != null) {
SSLContext ctx = SSLContexts.custom()
.useProtocol(SSLConnectionSocketFactory.TLS)
.setProtocol(SSLConnectionSocketFactory.TLS)
.setSecureRandom(null)
.loadKeyMaterial(that.clientKeyStore,
that.clientPrivateKeyPassword != null ? that.clientPrivateKeyPassword.toCharArray() : null)

0 comments on commit 254e498

Please sign in to comment.
You can’t perform that action at this time.