J-Jamet committed 2018-07-04 13:19:06 +02:00
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{