Module Name: src
Committed By: tteras
Date: Mon Apr 20 13:16:52 UTC 2009
Modified Files:
src/crypto/dist/ipsec-tools/src/racoon: handler.c
Log Message:
>From Paul Moore: Phase2 message id's should be unique wrt phase1, not
globally.
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/crypto/dist/ipsec-tools/src/racoon/handler.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/dist/ipsec-tools/src/racoon/handler.c
diff -u src/crypto/dist/ipsec-tools/src/racoon/handler.c:1.26 src/crypto/dist/ipsec-tools/src/racoon/handler.c:1.27
--- src/crypto/dist/ipsec-tools/src/racoon/handler.c:1.26 Thu Mar 12 10:57:26 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/handler.c Mon Apr 20 13:16:52 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: handler.c,v 1.26 2009/03/12 10:57:26 tteras Exp $ */
+/* $NetBSD: handler.c,v 1.27 2009/04/20 13:16:52 tteras Exp $ */
/* Id: handler.c,v 1.28 2006/05/26 12:17:29 manubsd Exp */
@@ -561,7 +561,7 @@
struct ph2handle *p;
LIST_FOREACH(p, &ph2tree, chain) {
- if (p->msgid == msgid)
+ if (p->msgid == msgid && p->ph1 == iph1)
return p;
}