]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tpm2-util: correct copy/pasted error message
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Jun 2025 11:13:34 +0000 (13:13 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Jun 2025 14:05:25 +0000 (16:05 +0200)
src/shared/tpm2-util.c

index 710ed4e81b1261474a6582b0c23f1e30d2d88871..d4e81083d173182482bebcaa6a35a2a9892f71f2 100644 (file)
@@ -2117,7 +2117,7 @@ int tpm2_create_primary(
                         /* creationHash= */ NULL,
                         /* creationTicket= */ NULL);
         if (rc == TPM2_RC_BAD_AUTH)
-                return log_debug_errno(SYNTHETIC_ERRNO(EDEADLK), "Authorization failure while attempting to enroll SRK into TPM.");
+                return log_debug_errno(SYNTHETIC_ERRNO(EDEADLK), "Authorization failure while attempting to create primary key.");
         if (rc != TSS2_RC_SUCCESS)
                 return log_debug_errno(SYNTHETIC_ERRNO(ENOTRECOVERABLE),
                                        "Failed to generate primary key in TPM: %s",