-/* $OpenBSD: ip_ah.c,v 1.172 2021/12/23 12:21:48 bluhm Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.173 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
struct cryptop *crp = NULL;
uint64_t replay64;
uint16_t iplen;
- int error, rplen, roff, ilen, olen;
+ int error, rplen, roff;
uint8_t *ptr = NULL;
uint8_t prot;
struct ah *ah;
goto drop;
}
- ilen = crp->crp_ilen;
- olen = crp->crp_olen;
-
/* Release the crypto descriptors */
crypto_freereq(crp);
crp = NULL;
-/* $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
{
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;
goto drop;
}
- ilen = crp->crp_ilen;
- olen = crp->crp_olen;
-
/* Release the crypto descriptors */
crypto_freereq(crp);