diff options
author | pjd <pjd@FreeBSD.org> | 2011-11-26 23:57:03 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-11-26 23:57:03 +0000 |
commit | 318f633177e92cdc44c9ffa0559ec3558395f47f (patch) | |
tree | 1fc623f05c210f38af501bdb4b79df52b6102243 /sys/netipsec | |
parent | 49f86abcab96df05c0f8a4d10bcaf2b55e15c850 (diff) | |
download | FreeBSD-src-318f633177e92cdc44c9ffa0559ec3558395f47f.zip FreeBSD-src-318f633177e92cdc44c9ffa0559ec3558395f47f.tar.gz |
Remove unused 'plen' variable.
Diffstat (limited to 'sys/netipsec')
-rw-r--r-- | sys/netipsec/xform_esp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipsec/xform_esp.c b/sys/netipsec/xform_esp.c index 7ccd844..04e5832 100644 --- a/sys/netipsec/xform_esp.c +++ b/sys/netipsec/xform_esp.c @@ -669,7 +669,7 @@ esp_output( { struct enc_xform *espx; struct auth_hash *esph; - int hlen, rlen, plen, padding, blks, alen, i, roff; + int hlen, rlen, padding, blks, alen, i, roff; struct mbuf *mo = (struct mbuf *) NULL; struct tdb_crypto *tc; struct secasvar *sav; @@ -701,7 +701,6 @@ esp_output( /* XXX clamp padding length a la KAME??? */ padding = ((blks - ((rlen + 2) % blks)) % blks) + 2; - plen = rlen + padding; /* Padded payload length. */ if (esph) switch (esph->type) { |