Skip to content

Commit 0834dd8

Browse files
committed
fix backward logic bug
1 parent 5ab76aa commit 0834dd8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.7.2)
22

33
project(KeepKeyFirmware
44

5-
VERSION 7.1.5
5+
VERSION 7.1.7
66

77
LANGUAGES C CXX ASM)
88

tools/firmware/keepkey_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static bool canDropPrivs(void) {
9595
// by this point already, and trying to drop privs *again* will cause a fault.
9696
bool sigPresent = sigindex1 >= 1 && sigindex1 <= BLK_v2_0_0_PUBKEYS;
9797
// delay before the security-critical branch instruction
98-
return !fi_defense_delay(sigPresent);
98+
return fi_defense_delay(sigPresent);
9999
}
100100
}
101101
__builtin_unreachable();

0 commit comments

Comments
 (0)