Module Name:    src
Committed By:   christos
Date:           Thu Mar 11 15:44:48 UTC 2010

Modified Files:
        src/crypto/dist/ipsec-tools/src/racoon: handler.c

Log Message:
PR/42363: Yasuoka Masahiko: Second part of the patch: iterate only on the
phase2 handles that are bound by the given phase1 handle.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 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.31 src/crypto/dist/ipsec-tools/src/racoon/handler.c:1.32
--- src/crypto/dist/ipsec-tools/src/racoon/handler.c:1.31	Sun Nov 22 14:34:55 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/handler.c	Thu Mar 11 10:44:48 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: handler.c,v 1.31 2009/11/22 19:34:55 christos Exp $	*/
+/*	$NetBSD: handler.c,v 1.32 2010/03/11 15:44:48 christos Exp $	*/
 
 /* Id: handler.c,v 1.28 2006/05/26 12:17:29 manubsd Exp */
 
@@ -573,7 +573,7 @@
 {
 	struct ph2handle *p;
 
-	LIST_FOREACH(p, &iph1->ph2tree, chain) {
+	LIST_FOREACH(p, &iph1->ph2tree, ph1bind) {
 		if (p->msgid == msgid && p->ph1 == iph1)
 			return p;
 	}

Reply via email to