mirror of
https://github.com/stefanberger/libtpms
synced 2026-08-08 21:58:54 +00:00
tpm12: Use proper format specifier %zu for size_t (CID1517801 & 1517798)
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
parent
52e98e9758
commit
f2b5d0c128
@ -763,7 +763,7 @@ TPM_RESULT TPM_RSAPrivateDecrypt(unsigned char *decrypt_data, /* decrypted dat
|
||||
}
|
||||
if (rc == 0) {
|
||||
if (outlen > decrypt_data_size) {
|
||||
printf("TPM_RSAPrivateDecrypt: Error, decrypt_data_size %u too small for message size %u\n",
|
||||
printf("TPM_RSAPrivateDecrypt: Error, decrypt_data_size %zu too small for message size %zu\n",
|
||||
decrypt_data_size, outlen);
|
||||
rc = TPM_DECRYPT_ERROR;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user