diff options
author | Dan Streetman <ddstreet@ieee.org> | 2023-01-23 19:52:56 -0500 |
---|---|---|
committer | Dan Streetman <ddstreet@ieee.org> | 2023-02-01 12:51:17 -0500 |
commit | bd860983a6f884e37e88915f545d5520f92890ec (patch) | |
tree | 6b6071e2daaf3266673471aab25a4aa2efe70c94 /src/cryptsetup/cryptsetup.c | |
parent | 7bfe0a48d9df6e9488aaec2eeb5bfec051681e40 (diff) | |
download | systemd-bd860983a6f884e37e88915f545d5520f92890ec.tar.gz |
tpm2: rename struct tpm2_context to Tpm2Context
This aligns with systemd coding guidelines for struct naming
Diffstat (limited to 'src/cryptsetup/cryptsetup.c')
-rw-r--r-- | src/cryptsetup/cryptsetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 819d5bbb97..27d7c2769a 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -841,7 +841,7 @@ static int measure_volume_key( if (r < 0) return log_error_errno(r, "Failed to load TPM2 libraries: %m"); - _cleanup_(tpm2_context_destroy) struct tpm2_context c = {}; + _cleanup_(tpm2_context_destroy) Tpm2Context c = {}; r = tpm2_context_init(arg_tpm2_device, &c); if (r < 0) return r; |