summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-05-27 03:51:31 +0000
committerangelos <angelos@openbsd.org>2001-05-27 03:51:31 +0000
commite3af857f58b88045f73ebf7e97b73bbfbfd0e1c8 (patch)
tree1cebd41f8931d2eaecce361f2aba9d4f7735142d
parentIf we are passed a packet tag, it's an IPSEC_IN_CRYPTO_DONE so convert (diff)
downloadwireguard-openbsd-e3af857f58b88045f73ebf7e97b73bbfbfd0e1c8.tar.xz
wireguard-openbsd-e3af857f58b88045f73ebf7e97b73bbfbfd0e1c8.zip
Probably a good idea to pass the NULL to the correct function...
-rw-r--r--sys/netinet/ip_ah.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_ah.c b/sys/netinet/ip_ah.c
index 9e3c0df70ec..03d0d9d1224 100644
--- a/sys/netinet/ip_ah.c
+++ b/sys/netinet/ip_ah.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ah.c,v 1.54 2001/05/27 03:48:32 angelos Exp $ */
+/* $OpenBSD: ip_ah.c,v 1.55 2001/05/27 03:51:31 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -825,7 +825,7 @@ ah_input_cb(void *op)
m->m_pkthdr.len -= rplen + ahx->authsize;
}
- err = ipsec_common_input_cb(m, tdb, skip, protoff);
+ err = ipsec_common_input_cb(m, tdb, skip, protoff, NULL);
splx(s);
return err;
@@ -1208,7 +1208,7 @@ ah_output_cb(void *op)
FREE(ptr, M_XDATA);
crypto_freereq(crp);
- err = ipsp_process_done(m, tdb, tdb2, NULL);
+ err = ipsp_process_done(m, tdb, tdb2);
splx(s);
return err;