mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

vharseko
18.47.2023 bde0a9a574452fd90abc3a12c90deb8b3d37d6fa
opendj-server-legacy/src/test/java/org/opends/server/tools/RemoteConnection.java
@@ -96,7 +96,7 @@
  private Socket getSslSocket(String host, int port) throws Exception
  {
    SSLContext sslCtx = SSLContext.getInstance("TLSv1");
    SSLContext sslCtx = SSLContext.getInstance("TLS");
    TrustManager[] tm = new TrustManager[] { new BlindTrustManager() };
    sslCtx.init(null, tm, new SecureRandom());
    SSLSocketFactory socketFactory = sslCtx.getSocketFactory();