diff options
author | Christian Hesse <mail@eworm.de> | 2014-03-15 18:16:43 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-03-15 18:16:43 +0100 |
commit | 465d3bb011bafaabcc1845bb7215572744e6433a (patch) | |
tree | a8a74377af1b82e9e8f897bd28feb71f5f237ded /udev | |
parent | 4b26fc536aa0aa48581569bdf1f37435f09f7d2a (diff) | |
download | mkinitcpio-ykfde-465d3bb011bafaabcc1845bb7215572744e6433a.tar.gz mkinitcpio-ykfde-465d3bb011bafaabcc1845bb7215572744e6433a.tar.zst |
allow Yubiky to block
Diffstat (limited to 'udev')
-rw-r--r-- | udev/ykfde.c | 2 |
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; } |