We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 908c40e commit 28e3993Copy full SHA for 28e3993
src/CHV.c
@@ -62,6 +62,7 @@ int CHV_PIN_verify(CHV_PIN *pin, unsigned int length, unsigned char *buffer) {
62
debugWarning("PIN verification failed");
63
debugInteger("Tries left", pin->count - 1);
64
--(pin->count);
65
+ CHV_flags &= (0xFF ^ pin->flag);
66
} else {
67
debugMessage("PIN verified");
68
pin->count = CHV_PIN_COUNT;
0 commit comments