diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 12:29:27 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-16 12:29:27 +0200 |
commit | 998bb7ac652581d6ef3a5821aa8dcb6a3a95ecdb (patch) | |
tree | 7156da18afa2b990248614f9f652e2f0f55d1152 /package/strongswan/patches/patch-src_pluto_alg_info_c | |
parent | a89de37272ba44b8ad89eb4277bebdc5e657a999 (diff) | |
parent | 71582bdd2080c6d7fb446d4cea10c93cf781419d (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strongswan/patches/patch-src_pluto_alg_info_c')
-rw-r--r-- | package/strongswan/patches/patch-src_pluto_alg_info_c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/strongswan/patches/patch-src_pluto_alg_info_c b/package/strongswan/patches/patch-src_pluto_alg_info_c new file mode 100644 index 000000000..8c65188c2 --- /dev/null +++ b/package/strongswan/patches/patch-src_pluto_alg_info_c @@ -0,0 +1,11 @@ +--- strongswan-4.4.0.orig/src/pluto/alg_info.c 2010-03-15 21:52:51.000000000 +0100 ++++ strongswan-4.4.0/src/pluto/alg_info.c 2010-07-13 22:49:11.775081075 +0200 +@@ -414,7 +414,7 @@ struct alg_info_esp *alg_info_esp_create + alg_info_esp = malloc_thing (struct alg_info_esp); + zero(alg_info_esp); + +- pfs_name=index (alg_str, ';'); ++ pfs_name=strchr (alg_str, ';'); + if (pfs_name) + { + memcpy(esp_buf, alg_str, pfs_name-alg_str); |