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 242c044ab1
.
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
This commit is contained in:
parent
9468cd7cf9
commit
cccb011e13
|
@ -450,15 +450,6 @@ check_sk_options(fido_dev_t *dev, const char *opt, int *ret)
|
||||||
skdebug(__func__, "device is not fido2");
|
skdebug(__func__, "device is not fido2");
|
||||||
return 0;
|
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) {
|
if ((info = fido_cbor_info_new()) == NULL) {
|
||||||
skdebug(__func__, "fido_cbor_info_new failed");
|
skdebug(__func__, "fido_cbor_info_new failed");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue