Fix formatting
This commit is contained in:
parent
1c781175e4
commit
58000135b5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ public class InsecureSslEngineFactory implements SslEngineFactory {
|
|||
|
||||
@Override
|
||||
public SSLEngine createClientSslEngine(String peerHost, int peerPort, String endpointIdentification) {
|
||||
var trustManagers = InsecureTrustManagerFactory.INSTANCE.getTrustManagers();
|
||||
var trustManagers = InsecureTrustManagerFactory.INSTANCE.getTrustManagers();
|
||||
try {
|
||||
this.sslContext = SSLContext.getInstance("SSL");
|
||||
sslContext.init(null, trustManagers, new SecureRandom());
|
||||
|
|
Loading…
Add table
Reference in a new issue