summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <vinschen@redhat.com>2022-08-11 20:19:35 +0200
committerDamien Miller <djm@mindrot.org>2022-08-12 15:34:47 +1000
commitcccb011e130cbbac538b1689d10e4a067298df8b (patch)
tree136a6ca040762c452c0f01dc9d41f157ce30c571
parent9468cd7cf9d989dfa2ac20e2a0268ba6e93bfa5a (diff)
Revert "check_sk_options: add temporary WinHello workaround"
Cygwin now comes with libfido2 1.11.0, so this workaround isn't required anymore. This reverts commit 242c044ab111a37aad3b0775727c36a4c5f0102c. Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
-rw-r--r--sk-usbhid.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 74df16ed..02cefb87 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -450,15 +450,6 @@ check_sk_options(fido_dev_t *dev, const char *opt, int *ret)
skdebug(__func__, "device is not fido2");
return 0;
}
- /*
- * Workaround required up to libfido2 1.10.0. As soon as 1.11.0
- * is released and updated in the Cygwin release, we can drop this.
- */
- if (fido_dev_is_winhello(dev) && strcmp (opt, "uv") == 0) {
- skdebug(__func__, "device is winhello");
- *ret = 1;
- return 0;
- }
if ((info = fido_cbor_info_new()) == NULL) {
skdebug(__func__, "fido_cbor_info_new failed");
return -1;