Don't forget to initialize crp_etype field.

Reported by:	Nick Evans <nevans@syphen.net>
MFC after:	3 days
This commit is contained in:
pjd 2005-09-10 07:45:10 +00:00
parent 37d27a5a23
commit e1cf625a5f

View File

@ -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;