aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
Diffstat (limited to 'udev')
-rw-r--r--udev/ykfde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/ykfde.c b/udev/ykfde.c
index 00c2b92..b638e23 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -179,7 +179,7 @@ int main(int argc, char **argv) {
memset(response_hex, 0, sizeof(response_hex));
/* do challenge/response and encode to hex */
- if (!yk_challenge_response(yk, slot, 0, strlen(challenge), (unsigned char *)challenge, sizeof(response), response)) {
+ if (!yk_challenge_response(yk, slot, true, strlen(challenge), (unsigned char *)challenge, sizeof(response), response)) {
perror("yk_challenge_response() failed");
goto out50;
}