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

Chris Ridd
22.10.2013 bcb182fbd407f8e107207244eff5149b9145bdb9
opends/src/server/org/opends/server/extensions/CryptPasswordStorageScheme.java
@@ -181,7 +181,7 @@
    String output;
    try
    {
      output = BSDMD5Crypt.crypt(plaintext.toString());
      output = BSDMD5Crypt.crypt(plaintext);
    }
    catch (Exception e)
    {
@@ -327,7 +327,7 @@
    String storedString = storedPassword.toString();
    try
    {
      String userString   = BSDMD5Crypt.crypt(plaintextPassword.toString(),
      String userString   = BSDMD5Crypt.crypt(plaintextPassword,
        storedString);
      return userString.equals(storedString);
    }