commit | 054fd15984454f031611d6c63675fc578aad0cb1 | [log] [tgz] |
---|---|---|
author | Chen Ni <nichen@iscas.ac.cn> | Thu Jun 20 16:19:26 2024 +0800 |
committer | Richard Weinberger <richard@nod.at> | Fri Jul 12 22:01:09 2024 +0200 |
tree | 5f53f1ccc86dad726bf69b0a463bbde9cf6a7dd5 | |
parent | 25e79a7f2c9e54872fb2c8932bb582a500284505 [diff] |
ubifs: add check for crypto_shash_tfm_digest Add check for the return value of crypto_shash_tfm_digest() and return the error if it fails in order to catch the error. Fixes: 817aa094842d ("ubifs: support offline signed images") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>