#include "cryptsetup-util.h"
#include "idn-util.h"
+#include "libfido2-util.h"
#include "macro.h"
#include "main-func.h"
#include "pwquality-util.h"
#include "qrcode-util.h"
#include "tests.h"
+#include "tpm2-util.h"
static int run(int argc, char **argv) {
test_setup_logging(LOG_DEBUG);
assert_se(dlopen_qrencode() >= 0);
#endif
+#if HAVE_TPM2
+ assert_se(dlopen_tpm2() >= 0);
+#endif
+
+#if HAVE_LIBFIDO2
+ assert_se(dlopen_libfido2() >= 0);
+#endif
+
return 0;
}
# A number of dependencies is now optional via dlopen, so the install
# script will not pick them up, since it looks at linkage.
- for lib in libcryptsetup libidn libidn2 pwquality libqrencode; do
+ for lib in libcryptsetup libidn libidn2 pwquality libqrencode tss2-esys tss2-rc tss2-mu libfido2; do
if pkg-config --exists ${lib}; then
path=$(pkg-config --variable=libdir ${lib})
if ! [[ ${lib} =~ ^lib ]]; then