Module Name:    src
Committed By:   tteras
Date:           Mon May 18 17:07:15 UTC 2009

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

Log Message:
>From Tomas Mraz: Remove variable that is not really used; only referenced
while uninitialized causing valgrind error.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 \
    src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.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/isakmp_inf.c
diff -u src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c:1.38 src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c:1.39
--- src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c:1.38	Mon Apr 20 13:23:54 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c	Mon May 18 17:07:15 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: isakmp_inf.c,v 1.38 2009/04/20 13:23:54 tteras Exp $	*/
+/*	$NetBSD: isakmp_inf.c,v 1.39 2009/05/18 17:07:15 tteras Exp $	*/
 
 /* Id: isakmp_inf.c,v 1.44 2006/05/06 20:45:52 manubsd Exp */
 
@@ -135,7 +135,6 @@
 	struct isakmp_gen *nd;
 	u_int8_t np;
 	int encrypted;
-	int flag;
 
 	plog(LLV_DEBUG, LOCATION, NULL, "receive Information.\n");
 
@@ -315,11 +314,8 @@
 				"received unexpected payload type %s.\n",
 				s_isakmp_nptype(gen->np));
 		}
-		if(error < 0) {
+		if (error < 0)
 			break;
-		} else {
-			flag |= error;
-		}
 	}
     end:
 	if (msg != NULL)

Reply via email to