summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-08-11 05:27:36 +0000
committerangelos <angelos@openbsd.org>2001-08-11 05:27:36 +0000
commit0e8582ade54eaa936b8817e1067d9a232d5aa31e (patch)
tree4e071e7b4e3f9c2932f71c8b108e2f555c74a282
parentAllocate slightly larger buffer for cert. (diff)
downloadwireguard-openbsd-0e8582ade54eaa936b8817e1067d9a232d5aa31e.tar.xz
wireguard-openbsd-0e8582ade54eaa936b8817e1067d9a232d5aa31e.zip
Fix keynote credential case again.
-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;