diff options
author | Corinna Vinschen <vinschen@redhat.com> | 2022-02-10 18:19:29 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-08-05 06:39:05 +0200 |
commit | 78774c08cc4b4997382975b0f414a86e06b6780c (patch) | |
tree | 286c7e68d89b6d233f046503862027995d1fdc82 /sk-usbhid.c | |
parent | Factor out getrnd() and rename to getentropy(). (diff) | |
download | openssh-78774c08cc4b4997382975b0f414a86e06b6780c.tar.xz openssh-78774c08cc4b4997382975b0f414a86e06b6780c.zip |
compat code for fido_dev_is_winhello()
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'sk-usbhid.c')
-rw-r--r-- | sk-usbhid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sk-usbhid.c b/sk-usbhid.c index 616fc5565..dfe88789a 100644 --- a/sk-usbhid.c +++ b/sk-usbhid.c @@ -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, |