summaryrefslogtreecommitdiff
path: root/src/test/test-dlopen-so.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-12-17 01:33:46 +0000
committerLuca Boccassi <bluca@debian.org>2022-12-19 14:49:01 +0100
commitda035a3a24ef1cc4e19e0370cbb269e8b2bdc59c (patch)
tree2d1de05a3e45106b72888522ed400213741833b9 /src/test/test-dlopen-so.c
parent5ac1e0eff3d1a9f49d4a43ee8a14b6f90573fde9 (diff)
downloadsystemd-da035a3a24ef1cc4e19e0370cbb269e8b2bdc59c.tar.gz
p11kit: switch to dlopen()
Diffstat (limited to 'src/test/test-dlopen-so.c')
-rw-r--r--src/test/test-dlopen-so.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/test-dlopen-so.c b/src/test/test-dlopen-so.c
index 85dbb81e43..55728c27c5 100644
--- a/src/test/test-dlopen-so.c
+++ b/src/test/test-dlopen-so.c
@@ -11,6 +11,7 @@
#include "macro.h"
#include "main-func.h"
#include "pcre2-util.h"
+#include "pkcs11-util.h"
#include "pwquality-util.h"
#include "qrcode-util.h"
#include "tests.h"
@@ -60,6 +61,10 @@ static int run(int argc, char **argv) {
assert_se(dlopen_pcre2() >= 0);
#endif
+#if HAVE_P11KIT
+ assert_se(dlopen_p11kit() >= 0);
+#endif
+
return 0;
}