diff options
author | 2001-07-25 11:42:06 +0000 | |
---|---|---|
committer | 2001-07-25 11:42:06 +0000 | |
commit | db58c780a67068a6e7acd73cf7e10bb18b3c480d (patch) | |
tree | 619dce08ef56eec46adfcc71373fe04dc8912ce0 | |
parent | mdoc fixes; sync with KAME. (diff) | |
download | wireguard-openbsd-db58c780a67068a6e7acd73cf7e10bb18b3c480d.tar.xz wireguard-openbsd-db58c780a67068a6e7acd73cf7e10bb18b3c480d.zip |
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 /* |