]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
configure.ac: fix libfido2 back-compat
authorpedro martelletto <pedro@ambientworks.net>
Tue, 1 Sep 2020 15:01:55 +0000 (17:01 +0200)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 2 Sep 2020 02:27:27 +0000 (12:27 +1000)
- HAVE_FIDO_CRED_PROD -> HAVE_FIDO_CRED_PROT;
- check for fido_dev_get_touch_begin(), so that
  HAVE_FIDO_DEV_GET_TOUCH_BEGIN gets defined.

configure.ac
sk-usbhid.c

index 7386d742daad306d0afc6654d71d3344e540f3fc..9ae199bc7f43c2856e445d4d89ba866b1796cc1a 100644 (file)
@@ -3185,6 +3185,7 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
        AC_CHECK_FUNCS([ \
                fido_cred_prot \
                fido_cred_set_prot \
+               fido_dev_get_touch_begin \
                fido_dev_get_touch_status \
                fido_dev_supports_cred_prot \
        ])
index 7c8ff8d983f13d8e7d88774ee16438fabea23a94..de85b2cb3d9bac69139e018c70f7ecad740ff732 100644 (file)
@@ -43,7 +43,7 @@
 #include <fido/credman.h>
 
 /* backwards compat for libfido2 */
-#ifndef HAVE_FIDO_CRED_PROD
+#ifndef HAVE_FIDO_CRED_PROT
 #define fido_cred_prot(x) (0)
 #endif
 #ifndef HAVE_FIDO_CRED_SET_PROT