compat code for fido_dev_is_winhello()

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
This commit is contained in:
Corinna Vinschen 2022-02-10 18:19:29 +01:00 committed by Damien Miller
parent 3d3a932a01
commit 78774c08cc
2 changed files with 9 additions and 0 deletions

View File

@ -3223,6 +3223,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" != "xno" ; then
fido_dev_get_touch_begin \
fido_dev_get_touch_status \
fido_dev_supports_cred_prot \
fido_dev_is_winhello \
])
LIBS="$saved_LIBS"
fi

View File

@ -381,6 +381,14 @@ fido_assert_set_clientdata(fido_assert_t *assert, const u_char *ptr, size_t len)
}
#endif /* HAVE_FIDO_ASSERT_SET_CLIENTDATA */
#ifndef HAVE_FIDO_DEV_IS_WINHELLO
static bool
fido_dev_is_winhello(const fido_dev_t *)
{
return false;
}
#endif /* HAVE_FIDO_DEV_IS_WINHELLO */
/* Check if the specified key handle exists on a given sk. */
static int
sk_try(const struct sk_usbhid *sk, const char *application,