Module Name: src
Committed By: tteras
Date: Mon May 18 17:07:47 UTC 2009
Modified Files:
src/crypto/dist/ipsec-tools/src/racoon [ipsec-tools-0_7-branch]:
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.14.4.16 -r1.14.4.17 \
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.14.4.16 src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c:1.14.4.17
--- src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c:1.14.4.16 Mon Apr 20 13:35:36 2009
+++ src/crypto/dist/ipsec-tools/src/racoon/isakmp_inf.c Mon May 18 17:07:46 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: isakmp_inf.c,v 1.14.4.16 2009/04/20 13:35:36 tteras Exp $ */
+/* $NetBSD: isakmp_inf.c,v 1.14.4.17 2009/05/18 17:07:46 tteras Exp $ */
/* Id: isakmp_inf.c,v 1.44 2006/05/06 20:45:52 manubsd Exp */
@@ -136,7 +136,6 @@
struct isakmp_gen *nd;
u_int8_t np;
int encrypted;
- int flag;
plog(LLV_DEBUG, LOCATION, NULL, "receive Information.\n");
@@ -313,11 +312,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)