summaryrefslogtreecommitdiff
path: root/package/openswan/patches/patch-lib_libopenswan_alg_info_c
blob: 3ac8e824b25422d054f1bc5f15f1f3b327032b96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- openswan-2.6.38.orig/lib/libopenswan/alg_info.c	2012-03-23 22:33:43.000000000 +0100
+++ openswan-2.6.38/lib/libopenswan/alg_info.c	2012-07-25 18:17:21.000000000 +0200
@@ -778,7 +778,7 @@ alg_info_discover_pfsgroup_hack(struct a
     static char err_buf[256];
     int ret;
     
-    pfs_name=index(esp_buf, ';');
+    pfs_name=strchr(esp_buf, ';');
     
     if(pfs_name) {
 	*pfs_name='\0';