diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 22:57:56 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-23 22:57:56 +0000 |
commit | 2330da86b342a67a87b9fe1d63d333c8e642ffd0 (patch) | |
tree | 2e04de659e8f389df0b0f7df66b63adc180084ac | |
parent | 542be5e4d76c0b970e189102c1fd7fb3ff6f0613 (diff) |
Adjust length.
-rw-r--r-- | sys/crypto/cryptodev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/crypto/cryptodev.c b/sys/crypto/cryptodev.c index 5e5c80a242e..5dfceb9ff2f 100644 --- a/sys/crypto/cryptodev.c +++ b/sys/crypto/cryptodev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptodev.c,v 1.18 2001/06/23 22:37:19 angelos Exp $ */ +/* $OpenBSD: cryptodev.c,v 1.19 2001/06/23 22:57:55 angelos Exp $ */ /* * Copyright (c) 2001 Theo de Raadt @@ -362,6 +362,7 @@ crypto_op(struct csession *cse, struct crypt_op *cop, struct proc *p) } else { crde->crd_flags |= CRD_F_IV_PRESENT; crde->crd_skip = cse->txform->blocksize; + crde->crd_len -= cse->txform->blocksize; } if (cop->mac) { |