mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-27 12:26:55 -08:00
Revert "Revert "Early return in readHeaderField" #713"
This reverts commit 777a20182e.
This commit is contained in:
1 parent
777a20182e
commit
ea126b90e2
1 file changed
+3
-2
@@ -192,10 +192,11 @@ class DatabaseHeaderKDBX(private val databaseV4: DatabaseKDBX) : DatabaseHeader(
|
||||
}
|
||||
}
|
||||
|
||||
if (fieldID == PwDbHeaderV4Fields.EndOfHeader)
|
||||
return true
|
||||
|
||||
if (fieldData != null)
|
||||
when (fieldID) {
|
||||
PwDbHeaderV4Fields.EndOfHeader -> return true
|
||||
|
||||
PwDbHeaderV4Fields.CipherID -> setCipher(fieldData)
|
||||
|
||||
PwDbHeaderV4Fields.CompressionFlags -> setCompressionFlags(fieldData)
|
||||
|
||||
Reference in new issue
Block a user