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/BlowfishPasswordStorageScheme.java
@@ -114,7 +114,7 @@
      byte[] encodedBytes =
           cryptoManager.encrypt(CIPHER_TRANSFORMATION_BLOWFISH,
                                 KEY_SIZE_BLOWFISH, plaintextBytes);
      return ByteString.valueOf(Base64.encode(encodedBytes));
      return ByteString.valueOfUtf8(Base64.encode(encodedBytes));
    }
    catch (Exception e)
    {
@@ -173,7 +173,7 @@
      }
    }
    return ByteString.valueOf(buffer);
    return ByteString.valueOfUtf8(buffer);
  }