Skip to content
Snippets Groups Projects
Commit 054fd159 authored by Chen Ni's avatar Chen Ni Committed by Richard Weinberger
Browse files

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: 817aa094 ("ubifs: support offline signed images")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarZhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 25e79a7f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment