Re: [PATCH ima-evm-utils 1/3] ima-evm-utils: Fix mismatched type checking

From: Mimi Zohar
Date: Wed Jul 08 2020 - 10:01:42 EST


On Tue, 2020-07-07 at 11:35 +0800, Tianjia Zhang wrote:
> Even if imaevm_get_hash_algo() returns an error value of -1, it is
> forced to be converted to uint8_t type here, resulting in this error
> not being checked by the if condition. This patch fixes this error.
>
> Signed-off-by: Tianjia Zhang <tianjia.zhang@xxxxxxxxxxxxxxxxx>

Thanks! ÂThis patch is now queued in the next branch.

Mimi