cryptsetup-tokens: fix argument order mismatch in function
The order of the arguments of the function `acquire_luks2_key()` in
`luks2-tpm2.h` is wrong, `pcrlock_path` and `pin` are swapped.
Fixes 404aea7815
This commit is contained in:
committed by
Mike Yuan
parent
2aef0ac819
commit
ce18410a54
@@ -13,8 +13,8 @@ int acquire_luks2_key(
|
||||
const struct iovec *pubkey,
|
||||
uint32_t pubkey_pcr_mask,
|
||||
const char *signature_path,
|
||||
const char *pcrlock_path,
|
||||
const char *pin,
|
||||
const char *pcrlock_path,
|
||||
uint16_t primary_alg,
|
||||
const struct iovec *key_data,
|
||||
const struct iovec *policy_hash,
|
||||
|
||||
Reference in New Issue
Block a user