diff options
author | pjd <pjd@FreeBSD.org> | 2005-09-10 07:45:10 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2005-09-10 07:45:10 +0000 |
commit | e1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88 (patch) | |
tree | feb8ae8377d66d1c60b6ebb89539da7e271f3f79 /sys/geom | |
parent | 37d27a5a23a55f381f02d1af656bb44d2873d87a (diff) | |
download | FreeBSD-src-e1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88.zip FreeBSD-src-e1cf625a5fd2dc0657c6bbbcf42418c9bd37cc88.tar.gz |
Don't forget to initialize crp_etype field.
Reported by: Nick Evans <nevans@syphen.net>
MFC after: 3 days
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/eli/g_eli.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/eli/g_eli.c b/sys/geom/eli/g_eli.c index 1afafa1..2da3b11 100644 --- a/sys/geom/eli/g_eli.c +++ b/sys/geom/eli/g_eli.c @@ -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; |