diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-30 19:54:30 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-05-30 19:54:30 +0000 |
commit | 72b8721e359661b263429be415a6b75a0a8d013b (patch) | |
tree | 88521ef0c50460452bacae1b7d919079bd7ec161 /sbin | |
parent | 28d7fe331171b7ffa4be20cf139a089b8654d134 (diff) |
fix SA grouping. Now, esp+ah and ah+esp works again.
ok markus@
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c index 838838c86be..e41401c8d6d 100644 --- a/sbin/isakmpd/message.c +++ b/sbin/isakmpd/message.c @@ -1,4 +1,4 @@ -/* $OpenBSD: message.c,v 1.116 2005/10/25 10:38:01 hshoexer Exp $ */ +/* $OpenBSD: message.c,v 1.117 2006/05/30 19:54:29 hshoexer Exp $ */ /* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */ /* @@ -2410,7 +2410,7 @@ message_add_sa_payload(struct message *msg) for (proto = TAILQ_FIRST(&sa->protos), i = 0; proto; proto = TAILQ_NEXT(proto, link), i++) { if (message_add_payload(msg, ISAKMP_PAYLOAD_PROPOSAL, - proposals[i], proposal_lens[i], i > 1)) + proposals[i], proposal_lens[i], i > 0)) goto cleanup; SET_ISAKMP_GEN_LENGTH(proposals[i], proposal_lens[i] + transform_lens[i]); |