diff options
author | Gustavo B. Schenkel <gustavo.schenkel@gmail.com> | 2021-07-10 01:03:46 -0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-07-12 21:45:06 +0700 |
commit | b56677d039adc135740e5f3eee28eef06405d2cd (patch) | |
tree | 10204d419b5937d6b386dae49048ef9d87b67af2 /libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch | |
parent | 9453e66b2cff3b29bc4760bfc6d87731457e76fb (diff) |
libraries/libu2f-host: Updated for version 1.1.11 (unreleased)
Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch')
-rw-r--r-- | libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch b/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch new file mode 100644 index 0000000000..060b405907 --- /dev/null +++ b/libraries/libu2f-host/patches/0007-devs-init_device-Fix-misleading-comment-logical-inve.patch @@ -0,0 +1,27 @@ +From 3b8cf649c04e484d9162ab9325a4aa064df1f2ee Mon Sep 17 00:00:00 2001 +From: Nicolas Braud-Santoni <nicolas@braud-santoni.eu> +Date: Fri, 30 Aug 2019 12:21:13 +0200 +Subject: [PATCH 07/25] devs/init_device: Fix misleading comment (logical + inversion) + +Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com> +--- + u2f-host/devs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/u2f-host/devs.c b/u2f-host/devs.c +index f10048f..aa76c9f 100644 +--- a/u2f-host/devs.c ++++ b/u2f-host/devs.c +@@ -303,7 +303,7 @@ init_device (u2fh_devs * devs, struct u2fdevice *dev) + &resplen) == U2FH_OK) + { + int offs = sizeof (nonce); +- /* the response has to be at least 17 bytes, if it's more we discard that */ ++ /* the response has to be at least 17 bytes, if it's less we discard it */ + if (resplen < 17) + { + return U2FH_SIZE_ERROR; +-- +2.32.0 + |