diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-25 11:42:07 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-07-25 11:42:07 +0000 |
commit | 43b6a55d676c4d6502d1bf839ead457aa4e9e207 (patch) | |
tree | 84cc0c4e962cceb45c8fa208335851566661af73 | |
parent | da80af9da19811cdf99bd468dd8d5462ab692677 (diff) |
do not setup identity extensions for KAME; ok angelos@
-rw-r--r-- | sbin/isakmpd/pf_key_v2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/isakmpd/pf_key_v2.c b/sbin/isakmpd/pf_key_v2.c index 30ab4ae310b..c80ce794942 100644 --- a/sbin/isakmpd/pf_key_v2.c +++ b/sbin/isakmpd/pf_key_v2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_key_v2.c,v 1.78 2001/07/18 20:48:33 markus Exp $ */ +/* $OpenBSD: pf_key_v2.c,v 1.79 2001/07/25 11:42:06 markus Exp $ */ /* $EOM: pf_key_v2.c,v 1.79 2000/12/12 00:33:19 niklas Exp $ */ /* @@ -1148,6 +1148,7 @@ pf_key_v2_set_spi (struct sa *sa, struct proto *proto, int incoming, key = 0; } +#ifndef KAME /* Setup identity extensions. */ if (isakmp_sa->id_i) { @@ -1222,6 +1223,7 @@ pf_key_v2_set_spi (struct sa *sa, struct proto *proto, int incoming, free (sid); sid = 0; } +#endif /* KAME */ #ifdef SADB_X_CREDTYPE_NONE /* |