mirror of git://anongit.mindrot.org/openssh.git
add check for fido_cred_set_prot() to configure
This commit is contained in:
parent
f11b233463
commit
6fcfd303d6
|
@ -3176,6 +3176,9 @@ if test "x$enable_sk" = "xyes" -a "x$enable_sk_internal" = "xyes" ; then
|
||||||
], [ AC_MSG_ERROR([no usable libfido2 found]) ],
|
], [ AC_MSG_ERROR([no usable libfido2 found]) ],
|
||||||
[ $OTHERLIBS ]
|
[ $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_CHECK_HEADER([fido.h], [],
|
||||||
AC_MSG_ERROR([missing fido.h from libfido2]))
|
AC_MSG_ERROR([missing fido.h from libfido2]))
|
||||||
AC_CHECK_HEADER([fido/credman.h], [],
|
AC_CHECK_HEADER([fido/credman.h], [],
|
||||||
|
|
Loading…
Reference in New Issue