diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2016-09-02 09:12:50 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2016-09-02 09:12:50 +0000 |
commit | f6a9246aed352fd652bf23b51d226a965b2188ec (patch) | |
tree | 5ebc0e0bca3fec20d7f3c9b52f30f92068c6b8e7 /sys/crypto/cryptosoft.c | |
parent | d616c6cb7e84c9e5570d49687e071a336ace4526 (diff) |
Remove variables 'm' and 'uio' that are only ever assigned to
(in swcr_authenc())
ok mikeb@, who pointed out that I'd missed uio
Diffstat (limited to 'sys/crypto/cryptosoft.c')
-rw-r--r-- | sys/crypto/cryptosoft.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/crypto/cryptosoft.c b/sys/crypto/cryptosoft.c index 241c0858b32..06792eb0a9a 100644 --- a/sys/crypto/cryptosoft.c +++ b/sys/crypto/cryptosoft.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptosoft.c,v 1.80 2015/12/10 21:00:51 naddy Exp $ */ +/* $OpenBSD: cryptosoft.c,v 1.81 2016/09/02 09:12:49 tom Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) @@ -489,8 +489,6 @@ swcr_authenc(struct cryptop *crp) struct swcr_data *sw, *swa, *swe = NULL; struct auth_hash *axf = NULL; struct enc_xform *exf = NULL; - struct mbuf *m = NULL; - struct uio *uio = NULL; caddr_t buf = (caddr_t)crp->crp_buf; uint32_t *blkp; int aadlen, blksz, i, ivlen, outtype, len, iskip, oskip; @@ -535,10 +533,8 @@ swcr_authenc(struct cryptop *crp) if (crp->crp_flags & CRYPTO_F_IMBUF) { outtype = CRYPTO_BUF_MBUF; - m = (struct mbuf *)buf; } else { outtype = CRYPTO_BUF_IOV; - uio = (struct uio *)buf; } /* Initialize the IV */ |