diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-05-13 15:39:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-05-13 15:39:28 +0000 |
commit | 55c37b576f488eb17df5eff986709ece85ab0de7 (patch) | |
tree | 8f19d81ae8338d5ed924bea05d572bef6230c7c4 /sys/netinet/ip_ah.c | |
parent | b0c05dd06457f702f762c15cfb37a5563a02e3a5 (diff) |
initial cut at /dev/crypto support. takes original mbuf "try, and discard
if we fail" semantics and extends to two varients of data movement: mbuf,
or an iovec style block.
Diffstat (limited to 'sys/netinet/ip_ah.c')
-rw-r--r-- | sys/netinet/ip_ah.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c index 505f4051278..e03f422a67b 100644 --- a/sys/netinet/ip_ah.c +++ b/sys/netinet/ip_ah.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ah.c,v 1.51 2001/05/12 18:09:02 angelos Exp $ */ +/* $OpenBSD: ip_ah.c,v 1.52 2001/05/13 15:39:27 deraadt Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -155,7 +155,7 @@ ah_init(struct tdb *tdbp, struct xformsw *xsp, struct ipsecinit *ii) cria.cri_klen = ii->ii_authkeylen * 8; cria.cri_key = ii->ii_authkey; - return crypto_newsession(&tdbp->tdb_cryptoid, &cria); + return crypto_newsession(&tdbp->tdb_cryptoid, &cria, 0); } /* |