summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-03-15 18:16:43 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-03-15 18:16:43 +0100
commit465d3bb011bafaabcc1845bb7215572744e6433a (patch)
treea8a74377af1b82e9e8f897bd28feb71f5f237ded
parent4b26fc536aa0aa48581569bdf1f37435f09f7d2a (diff)
downloadmkinitcpio-ykfde-465d3bb011bafaabcc1845bb7215572744e6433a.tar.gz
mkinitcpio-ykfde-465d3bb011bafaabcc1845bb7215572744e6433a.tar.zst
allow Yubiky to block
-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;
}