summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--sk-usbhid.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7386d742d..9ae199bc7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3185,6 +3185,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
3185 AC_CHECK_FUNCS([ \ 3185 AC_CHECK_FUNCS([ \
3186 fido_cred_prot \ 3186 fido_cred_prot \
3187 fido_cred_set_prot \ 3187 fido_cred_set_prot \
3188 fido_dev_get_touch_begin \
3188 fido_dev_get_touch_status \ 3189 fido_dev_get_touch_status \
3189 fido_dev_supports_cred_prot \ 3190 fido_dev_supports_cred_prot \
3190 ]) 3191 ])
diff --git a/sk-usbhid.c b/sk-usbhid.c
index 7c8ff8d98..de85b2cb3 100644
--- a/sk-usbhid.c
+++ b/sk-usbhid.c
@@ -43,7 +43,7 @@
43#include <fido/credman.h> 43#include <fido/credman.h>
44 44
45/* backwards compat for libfido2 */ 45/* backwards compat for libfido2 */
46#ifndef HAVE_FIDO_CRED_PROD 46#ifndef HAVE_FIDO_CRED_PROT
47#define fido_cred_prot(x) (0) 47#define fido_cred_prot(x) (0)
48#endif 48#endif
49#ifndef HAVE_FIDO_CRED_SET_PROT 49#ifndef HAVE_FIDO_CRED_SET_PROT