-/* $OpenBSD: ip_ah.c,v 1.170 2021/12/20 15:59:09 mvs Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.171 2021/12/20 17:09:18 tobhe Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
uint32_t btsx, esn;
uint8_t *ptr = NULL;
uint8_t hl;
- int error, rplen, clen;
+ int error, rplen;
uint64_t ibytes;
#ifdef ENCDEBUG
char buf[INET6_ADDRSTRLEN];
goto drop;
}
- /* Length of data after processing */
- clen = crp->crp_olen;
-
/* Release the crypto descriptors */
crypto_freereq(crp);
crp = NULL;
-/* $OpenBSD: ip_esp.c,v 1.190 2021/12/20 15:59:09 mvs Exp $ */
+/* $OpenBSD: ip_esp.c,v 1.191 2021/12/20 17:09:18 tobhe Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
struct mbuf *m = *mp, *m1, *mo;
struct cryptodesc *crde = NULL, *crda = NULL;
struct cryptop *crp = NULL;
- int plen, alen, hlen, error, clen, roff;
+ int plen, alen, hlen, error, roff;
uint32_t btsx, esn;
#ifdef ENCDEBUG
char buf[INET6_ADDRSTRLEN];
goto drop;
}
- clen = crp->crp_olen;
-
/* Release the crypto descriptors */
crypto_freereq(crp);
crp = NULL;