summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/xform_tcp.c
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2006-03-25 13:38:52 +0000
committergnn <gnn@FreeBSD.org>2006-03-25 13:38:52 +0000
commit4a5d9d5dd3dfb4c03c8d3ff47b1ac35206dcae01 (patch)
tree2b149a120744f65bc133e9267addbdcd67b8b9cd /sys/netipsec/xform_tcp.c
parent869b9276a754a75358ae5603779668e87974c327 (diff)
downloadFreeBSD-src-4a5d9d5dd3dfb4c03c8d3ff47b1ac35206dcae01.zip
FreeBSD-src-4a5d9d5dd3dfb4c03c8d3ff47b1ac35206dcae01.tar.gz
First steps towards IPSec cleanup.
Make the kernel side of FAST_IPSEC not depend on the shared structures defined in /usr/include/net/pfkeyv2.h The kernel now defines all the necessary in kernel structures in sys/netipsec/keydb.h and does the proper massaging when moving messages around. Sponsored By: Secure Computing
Diffstat (limited to 'sys/netipsec/xform_tcp.c')
-rw-r--r--sys/netipsec/xform_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/xform_tcp.c b/sys/netipsec/xform_tcp.c
index c70d70a..a401548 100644
--- a/sys/netipsec/xform_tcp.c
+++ b/sys/netipsec/xform_tcp.c
@@ -117,7 +117,7 @@ tcpsignature_zeroize(struct secasvar *sav)
{
if (sav->key_auth)
- bzero(_KEYBUF(sav->key_auth), _KEYLEN(sav->key_auth));
+ bzero(sav->key_auth->key_data, _KEYLEN(sav->key_auth));
sav->tdb_cryptoid = 0;
sav->tdb_authalgxform = NULL;
OpenPOWER on IntegriCloud