mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
Clean up zfs-tpm1x-clear-key (parse_key_props() is already in main_clear.hpp)
This commit is contained in:
parent
984c5d5354
commit
52a4871ce0
@ -2,14 +2,12 @@
|
||||
|
||||
|
||||
#include "../main_clear.hpp"
|
||||
#include "../tpm1x.hpp"
|
||||
|
||||
|
||||
#define THIS_BACKEND "TPM1.X"
|
||||
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
tpm1x_handle handle{}; // Not like we use this, but for symmetry with the other -clear-keys
|
||||
return do_clear_main(
|
||||
argc, argv, THIS_BACKEND, [&](auto dataset, auto handle_s) { return parse_key_props(dataset, THIS_BACKEND, handle_s); }, [&] { return 0; });
|
||||
argc, argv, THIS_BACKEND, [](auto, auto) { return 0; }, [] { return 0; });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user