Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/crypto/dist/ipsec-tools/src/racoon Pull up revision 1.3 (...



details:   https://anonhg.NetBSD.org/src/rev/363dbe67e4b6
branches:  netbsd-3
changeset: 576618:363dbe67e4b6
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jul 18 14:03:52 2005 +0000

description:
Pull up revision 1.3 (requested by he in ticket #599):
Move a variable declaration to the variable declaration section of
the enclosing block from within the middle of active code, so that
this compiles with older gcc.  Fixes build problem for vax.

diffstat:

 crypto/dist/ipsec-tools/src/racoon/oakley.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 2271275875f9 -r 363dbe67e4b6 crypto/dist/ipsec-tools/src/racoon/oakley.c
--- a/crypto/dist/ipsec-tools/src/racoon/oakley.c       Wed Jul 13 09:28:50 2005 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/oakley.c       Mon Jul 18 14:03:52 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: oakley.c,v 1.1.1.3.2.1 2005/07/12 17:30:02 tron Exp $  */
+/*     $NetBSD: oakley.c,v 1.1.1.3.2.2 2005/07/18 14:03:52 tron Exp $  */
 
 /* Id: oakley.c,v 1.17.2.1 2005/03/01 09:51:48 vanhu Exp */
 
@@ -2017,6 +2017,7 @@
                  PKCS7 *p7;
                  u_char *bp;
                  int i;
+                STACK_OF(X509) *certs=NULL;
 
                  /* Skip the header */
                  bp = (u_char *)(gen + 1);
@@ -2036,7 +2037,6 @@
                   * there"s little by way of documentation for any of
                   * it. I can only presume it"s correct.
                   */
-                STACK_OF(X509) *certs=NULL;
                 
                 i = OBJ_obj2nid(p7->type);
                 switch (i) {



Home | Main Index | Thread Index | Old Index