[openssh-commits] [openssh] 01/03: compat code for fido_dev_is_winhello()

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Aug 5 15:02:31 AEST 2022


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 78774c08cc4b4997382975b0f414a86e06b6780c
Author: Corinna Vinschen <vinschen at redhat.com>
Date:   Thu Feb 10 18:19:29 2022 +0100

    compat code for fido_dev_is_winhello()
    
    Signed-off-by: Corinna Vinschen <vinschen at redhat.com>
---
 configure.ac | 1 +
 sk-usbhid.c  | 8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/configure.ac b/configure.ac
index c36aee2c..1ee96268 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 616fc556..dfe88789 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,

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list