From 6fcfd303d67f16695198cf23d109a988e40eefb6 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 3 Jul 2020 15:28:27 +1000 Subject: [PATCH] add check for fido_cred_set_prot() to configure --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index d6edb24f2..c03db2732 100644 --- a/configure.ac +++ b/configure.ac @@ -3176,6 +3176,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then ], [ AC_MSG_ERROR([no usable libfido2 found]) ], [ $OTHERLIBS ] ) + AC_CHECK_LIB([fido2], [fido_cred_set_prot], [], + [ AC_MSG_ERROR([libfido2 missing fido_cred_set_prot; please use libfido2 >= 1.4.0]) ], + ) AC_CHECK_HEADER([fido.h], [], AC_MSG_ERROR([missing fido.h from libfido2])) AC_CHECK_HEADER([fido/credman.h], [],