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:
committed by
Luca Boccassi
parent
918ef2eeeb
commit
707de94cbf
@@ -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;
|
||||
|
||||
@@ -69,7 +69,7 @@ modules += [
|
||||
'sources' : cryptsetup_token_systemd_pkcs11_sources,
|
||||
'dependencies' : [
|
||||
libcryptsetup,
|
||||
libp11kit,
|
||||
libp11kit_cflags,
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
@@ -24,7 +24,7 @@ executables += [
|
||||
'dependencies' : [
|
||||
libcryptsetup,
|
||||
libopenssl,
|
||||
libp11kit,
|
||||
libp11kit_cflags,
|
||||
],
|
||||
},
|
||||
generator_template + {
|
||||
|
||||
Reference in New Issue
Block a user