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

Jean-Noël Rouvignac
29.51.2015 4baece95779dd46a3a59d59d1b7aa5958cf6117d
opendj-server-legacy/src/main/java/org/opends/server/extensions/CryptPasswordStorageScheme.java
@@ -183,7 +183,7 @@
      throw new DirectoryException(DirectoryServer.getServerErrorResultCode(),
                                   message, e);
    }
    return ByteString.valueOf(output);
    return ByteString.valueOfUtf8(output);
  }
  private ByteString sha256CryptEncodePassword(ByteSequence plaintext)
@@ -210,7 +210,7 @@
        Arrays.fill(plaintextBytes, (byte) 0);
      }
    }
    return ByteString.valueOf(output);
    return ByteString.valueOfUtf8(output);
  }
  private ByteString sha512CryptEncodePassword(ByteSequence plaintext)
@@ -237,7 +237,7 @@
        Arrays.fill(plaintextBytes, (byte) 0);
      }
    }
    return ByteString.valueOf(output);
    return ByteString.valueOfUtf8(output);
  }
  /** {@inheritDoc} */
@@ -278,7 +278,7 @@
    buffer.append(encodePassword(plaintext));
    return ByteString.valueOf(buffer);
    return ByteString.valueOfUtf8(buffer);
  }
  /**