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

jvergara
31.25.2009 63486034f442208224d1bab211d545df17163037
Fix a problem with the update of the keystore.  When storing the keystore, the FileOutputStream must not be in appending mode.
1 files modified
2 ■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/util/UIKeyStore.java 2 ●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/util/UIKeyStore.java
@@ -162,7 +162,7 @@
    {
      Utils.createFile(f);
    }
    FileOutputStream fos = new FileOutputStream(getKeyStorePath(), true);
    FileOutputStream fos = new FileOutputStream(getKeyStorePath(), false);
    k.store(fos, new char[]{});
    if (fos != null)
    {