summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_esp.c')
-rw-r--r--sys/netinet/ip_esp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c
index a3e8e5f8689..f904b6ddfaf 100644
--- a/sys/netinet/ip_esp.c
+++ b/sys/netinet/ip_esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp.c,v 1.192 2021/12/23 12:21:48 bluhm Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.193 2021/12/23 22:35:11 bluhm Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -690,7 +690,7 @@ esp_output(struct mbuf *m, struct tdb *tdb, int skip, int protoff)
{
const struct enc_xform *espx = tdb->tdb_encalgxform;
const struct auth_hash *esph = tdb->tdb_authalgxform;
- int ilen, olen, hlen, rlen, padding, blks, alen, roff, error;
+ int ilen, hlen, rlen, padding, blks, alen, roff, error;
uint64_t replay64;
uint32_t replay;
struct mbuf *mi, *mo = (struct mbuf *) NULL;
@@ -957,9 +957,6 @@ esp_output(struct mbuf *m, struct tdb *tdb, int skip, int protoff)
goto drop;
}
- ilen = crp->crp_ilen;
- olen = crp->crp_olen;
-
/* Release the crypto descriptors */
crypto_freereq(crp);