diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/via.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/i386/via.c b/sys/arch/i386/i386/via.c index 3c097297e42..fe5f6ff18ec 100644 --- a/sys/arch/i386/i386/via.c +++ b/sys/arch/i386/i386/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.6 2006/08/24 12:29:54 hshoexer Exp $ */ +/* $OpenBSD: via.c,v 1.7 2006/11/17 06:48:12 tom Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -437,10 +437,10 @@ viac3_crypto_encdec(struct cryptop *crp, struct cryptodesc *crd, else if (crp->crp_flags & CRYPTO_F_IOV) cuio_copydata((struct uio *)crp->crp_buf, crd->crd_skip + crd->crd_len - 16, 16, - sc->op_iv); + ses->ses_iv); else bcopy(crp->crp_buf + crd->crd_skip + - crd->crd_len - 16, sc->op_iv, 16); + crd->crd_len - 16, sc->ses->ses_iv, 16); } if (sc->op_buf != NULL) { |