Provide additional debug info for hmac_misc
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
This commit is contained in:
parent
ef46876b10
commit
f3cef2c047
@ -534,6 +534,9 @@ static int calc_evm_hash(const char *file, unsigned char *hash)
|
||||
hmac_misc.gid = st.st_gid;
|
||||
hmac_misc.mode = st.st_mode;
|
||||
|
||||
log_debug("hmac_misc (%lu): ", sizeof(hmac_misc));
|
||||
log_debug_dump(&hmac_misc, sizeof(hmac_misc));
|
||||
|
||||
err = EVP_DigestUpdate(&ctx, (const unsigned char *)&hmac_misc, sizeof(hmac_misc));
|
||||
if (!err) {
|
||||
log_err("EVP_DigestUpdate() failed\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user