diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-13 13:42:03 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-13 13:42:03 +0000 |
commit | ed5df046664e7a30ab18b240dffa816edd709a43 (patch) | |
tree | ecc3a709a63370268a3ca946dcfeaf5b809dd438 /sys/netinet/ip_esp.c | |
parent | d1097d38cc5b3e7119973a2419cf8dfa77b09f5a (diff) |
Use blocksize, not ivmask
Diffstat (limited to 'sys/netinet/ip_esp.c')
-rw-r--r-- | sys/netinet/ip_esp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_esp.c b/sys/netinet/ip_esp.c index 415a56965f6..54d8659334c 100644 --- a/sys/netinet/ip_esp.c +++ b/sys/netinet/ip_esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp.c,v 1.65 2001/06/08 03:13:14 angelos Exp $ */ +/* $OpenBSD: ip_esp.c,v 1.66 2001/06/13 13:42:02 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -143,7 +143,7 @@ esp_init(struct tdb *tdbp, struct xformsw *xsp, struct ipsecinit *ii) DPRINTF(("esp_init(): initialized TDB with enc algorithm %s\n", txform->name)); - tdbp->tdb_ivlen = txform->ivmask; + tdbp->tdb_ivlen = txform->blocksize; if (tdbp->tdb_flags & TDBF_HALFIV) tdbp->tdb_ivlen /= 2; } |