tree-wide: never link directly against p11kit

We go via dlopen() at most places, but forgot some. Cover the missing
cases too.
This commit is contained in:
Lennart Poettering
2023-11-02 17:26:46 +00:00
committed by Luca Boccassi
parent 918ef2eeeb
commit 707de94cbf
6 changed files with 9 additions and 9 deletions
@@ -55,7 +55,7 @@ static int luks2_pkcs11_callback(
if (rv != CKR_OK) {
crypt_log_error(data->cd,
"Failed to acquire updated security token information for slot %lu: %s",
slot_id, p11_kit_strerror(rv));
slot_id, sym_p11_kit_strerror(rv));
return -EIO;
}
token_info = &updated_token_info;
+1 -1
View File
@@ -69,7 +69,7 @@ modules += [
'sources' : cryptsetup_token_systemd_pkcs11_sources,
'dependencies' : [
libcryptsetup,
libp11kit,
libp11kit_cflags,
],
},
]
+1 -1
View File
@@ -24,7 +24,7 @@ executables += [
'dependencies' : [
libcryptsetup,
libopenssl,
libp11kit,
libp11kit_cflags,
],
},
generator_template + {