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

Ludovic Poitou
02.45.2010 7bdcb41c0f62967ec42d552f6002577dfb7019ca
sdk/src/org/opends/sdk/TrustManagers.java
@@ -442,14 +442,12 @@
   *           If {@code file} was {@code null}.
   */
  public static X509TrustManager checkUsingTrustStore(final String file,
      final String password, final String format)
      final char[] password, final String format)
      throws GeneralSecurityException, IOException, NullPointerException
  {
    Validator.ensureNotNull(file);
    final File trustStoreFile = new File(file);
    final char[] trustStorePassword = password != null ? password.toCharArray()
        : null;
    final String trustStoreFormat = format != null ? format : KeyStore
        .getDefaultType();
@@ -459,7 +457,7 @@
    try
    {
      fos = new FileInputStream(trustStoreFile);
      keyStore.load(fos, trustStorePassword);
      keyStore.load(fos, password);
    }
    finally
    {