From bd860983a6f884e37e88915f545d5520f92890ec Mon Sep 17 00:00:00 2001 From: Dan Streetman Date: Mon, 23 Jan 2023 19:52:56 -0500 Subject: tpm2: rename struct tpm2_context to Tpm2Context This aligns with systemd coding guidelines for struct naming --- src/cryptsetup/cryptsetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptsetup') 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; -- cgit v1.2.1