mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 00:02:27 -08:00
Fix errors highlight by @gaul https://github.com/gaul/keepassdroid/commit/fb715950a7d904a75fcddee9b22edeb215e1b60f
This commit is contained in:
1 parent
ab6c69adcb
commit
ef83dbcae2
5 files changed
+9
-6
No files matched your search
@@ -349,7 +349,7 @@ public class PwDbHeaderV4 extends PwDbHeader {
|
||||
}
|
||||
|
||||
public static boolean matchesHeader(int sig1, int sig2) {
|
||||
return (sig1 == PWM_DBSIG_1) && ( (sig2 == DBSIG_PRE2) || (sig2 == DBSIG_2) ); // TODO verify add DBSIG_PRE2
|
||||
return (sig1 == PWM_DBSIG_1) && ( (sig2 == DBSIG_PRE2) || (sig2 == DBSIG_2) );
|
||||
}
|
||||
|
||||
public static byte[] computeHeaderHmac(byte[] header, byte[] key) throws IOException{
|
||||
|
||||
Reference in new issue
Block a user