mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
crypto: shash - Propagate reinit return value
This patch fixes crypto_shash_import to propagate the value returned by reinit. Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
f88ad8de28
commit
deee2289b9
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ int crypto_shash_import(struct shash_desc *desc, const u8 *in)
|
|||
memcpy(shash_desc_ctx(desc), in, crypto_shash_descsize(tfm));
|
||||
|
||||
if (alg->reinit)
|
||||
alg->reinit(desc);
|
||||
return alg->reinit(desc);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue