summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-11 05:27:37 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-08-11 05:27:37 +0000
commitf3aeb49444d2b4eec707ee72af7fcf92c4d5678a (patch)
treeb2332ff614d41b76a11af79754395c98219ed879 /sbin/isakmpd
parent07df893e5b9628c40bf37a795d7323bae4a97418 (diff)
Fix keynote credential case again.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/exchange.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/exchange.c b/sbin/isakmpd/exchange.c
index e3bf872e570..9ccc93fcc24 100644
--- a/sbin/isakmpd/exchange.c
+++ b/sbin/isakmpd/exchange.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exchange.c,v 1.58 2001/07/05 12:36:50 ho Exp $ */
+/* $OpenBSD: exchange.c,v 1.59 2001/08/11 05:27:36 angelos Exp $ */
/* $EOM: exchange.c,v 1.143 2000/12/04 00:02:25 angelos Exp $ */
/*
@@ -1378,8 +1378,8 @@ exchange_finalize (struct message *msg)
exchange->recv_key = 0;
exchange->sent_key = 0;
exchange->keynote_key = 0;
- exchange->policy_id = -1;
msg->isakmp_sa->policy_id = exchange->policy_id;
+ exchange->policy_id = -1;
msg->isakmp_sa->id_i_len = exchange->id_i_len;
msg->isakmp_sa->id_r_len = exchange->id_r_len;
msg->isakmp_sa->initiator = exchange->initiator;