Don't forget to initialize crp_etype field.
Reported by: Nick Evans <nevans@syphen.net> MFC after: 3 days
This commit is contained in:
parent
37d27a5a23
commit
e1cf625a5f
@ -535,6 +535,7 @@ g_eli_crypto_run(struct g_eli_worker *wr, struct bio *bp)
|
||||
sizeof(crd->crd_iv));
|
||||
crd->crd_next = NULL;
|
||||
|
||||
crp->crp_etype = 0;
|
||||
err = crypto_dispatch(crp);
|
||||
if (error == 0)
|
||||
error = err;
|
||||
|
Loading…
Reference in New Issue
Block a user