Skip to content

Commit a492b82

Browse files
hyperfinitismJuergenReppSIT
authored andcommitted
fix(tpm2_util): fix error message in tpm2_pem_encoded_key_to_fingerprint
Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
1 parent 56a05ff commit a492b82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tpm2_util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ bool tpm2_pem_encoded_key_to_fingerprint(const char *pem_encoded_key,
10791079

10801080
rc = tpm2_base64_encode(buffer, buffer_length, base64);
10811081
if(!rc){
1082-
LOG_ERR("%s", "tpm2_base64_decode");
1082+
LOG_ERR("%s", "tpm2_base64_encode");
10831083
return false;
10841084
}
10851085
strcpy(fingerprint, "SHA256:");

0 commit comments

Comments
 (0)