Fix null pointer for KeyDerivationName

This commit is contained in:
J-Jamet committed 2018-05-02 07:16:55 +02:00
1 parent 3c66ec82b5
commit a50aa0fb95
1 file changed
+4 -1
@@ -332,7 +332,10 @@ public class PwDatabaseV4 extends PwDatabase<PwGroupV4, PwEntryV4> {
@Override
public String getKeyDerivationName() {
return kdfEngine.getName();
if (kdfEngine!=null)
return kdfEngine.getName();
else
return "";
}
@Override