]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
compat code for fido_dev_is_winhello()
authorCorinna Vinschen <vinschen@redhat.com>
Thu, 10 Feb 2022 17:19:29 +0000 (18:19 +0100)
committerDamien Miller <djm@mindrot.org>
Fri, 5 Aug 2022 04:39:05 +0000 (14:39 +1000)
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
configure.ac
sk-usbhid.c

index c36aee2c8e9d38e414e46b1a212dc894c1941e96..1ee96268d639af9671ca377a779622eb285b3a3d 100644 (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
index 616fc5565ca16f1d8f8ff34161548ea22b180102..dfe88789a9195dadae6a6aaf90b274ec7732defb 100644 (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,