cryptsetup-tokens: fix argument order mismatch in function
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Thu, 4 Apr 2024 15:44:52 +0000 (17:44 +0200)
committerMike Yuan <me@yhndnzj.com>
Thu, 4 Apr 2024 17:12:42 +0000 (01:12 +0800)
commitce18410a54424dd247805a93ebfc515d875f999e
treea256431fec38033818075fb6d96e93d2d298cf9b
parent2aef0ac81950b52ce0a6f9a555d0253e462f99ce
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 404aea7815595c1324947ed7f2a7502b17d3cc01
src/cryptsetup/cryptsetup-tokens/luks2-tpm2.h