pass ARCH down to uClibc
[buildroot.git] / package / openswan / openswan-2.4.9-010-susv3-legacy.patch
blobe2194dbfa170216095597c17cd4b303c7b6449df
1 --- openswan-2.4.7.oorig/lib/libopenswan/alg_info.c 2006-10-06 18:47:38.000000000 +0200
2 +++ openswan-2.4.7/lib/libopenswan/alg_info.c 2006-12-14 14:27:29.000000000 +0100
3 @@ -649,7 +649,7 @@ alg_info_esp_create_from_str (const char
5 if (!alg_info_esp) goto out;
7 - pfs_name=index (alg_str, ';');
8 + pfs_name=strchr (alg_str, ';');
10 if (pfs_name) {
11 memcpy(esp_buf, alg_str, pfs_name-alg_str);
12 --- openswan-2.4.7.oorig/programs/ikeping/ikeping.c 2005-07-08 04:56:38.000000000 +0200
13 +++ openswan-2.4.7/programs/ikeping/ikeping.c 2006-12-14 14:31:36.000000000 +0100
14 @@ -315,7 +315,7 @@ main(int argc, char **argv)
15 natt=0;
16 listen_only=0;
17 noDNS=0;
18 - bzero(&laddr, sizeof(laddr));
19 + memset(&laddr, 0, sizeof(laddr));
21 while((c = getopt_long(argc, argv, "hVnvsp:b:46E:w:", long_opts, 0))!=EOF) {
22 switch (c) {