* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / isakmpd / hotfix.patch
blob7b826669afd6bd31ff32ed02beda6a3e9804c6bb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../isakmpd/compile.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- isakmpd-20041012.orig/sysdep/common/libsysdep/arc4random.c 2004-10-12 23:25:52.000000000 +0200
17 +++ isakmpd-20041012.orig-fixed/sysdep/common/libsysdep/arc4random.c 2004-10-19 10:35:28.681835096 +0200
18 @@ -78,7 +78,7 @@
19 static void
20 arc4_stir(struct arc4_stream *as)
22 - int fd;
23 + int fd, i;
24 struct {
25 struct timeval tv;
26 u_int8_t rnd[128 - sizeof(struct timeval)];
27 --- isakmpd-20041012.orig/x509.c.vanilla 2005-10-31 11:38:52.000000000 +0100
28 +++ isakmpd-20041012.orig/x509.c 2005-10-31 11:39:08.000000000 +0100
29 @@ -910,7 +910,7 @@
30 X509_STORE_CTX_init(&csc, x509_cas, cert, NULL);
31 #if OPENSSL_VERSION_NUMBER >= 0x00907000L
32 /* XXX See comment in x509_read_crls_from_dir. */
33 - if (x509_cas->flags & X509_V_FLAG_CRL_CHECK) {
34 + if (x509_cas->param->flags & X509_V_FLAG_CRL_CHECK) {
35 X509_STORE_CTX_set_flags(&csc, X509_V_FLAG_CRL_CHECK);
36 X509_STORE_CTX_set_flags(&csc, X509_V_FLAG_CRL_CHECK_ALL);
38 --- isakmpd-20041012.orig/GNUmakefile.vanilla 2005-10-31 11:40:57.000000000 +0100
39 +++ isakmpd-20041012.orig/GNUmakefile 2005-10-31 11:40:59.000000000 +0100
40 @@ -56,7 +56,7 @@
41 BINDIR= /sbin
42 endif
43 ifndef LDSTATIC
44 -LDSTATIC= -static
45 +LDSTATIC=
46 endif
48 SRCS= app.c attribute.c cert.c connection.c \