$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- openswan-2.6.18.orig/lib/libopenswan/alg_info.c	2008-10-06 18:52:49.000000000 +0200
+++ openswan-2.6.18/lib/libopenswan/alg_info.c	2008-10-14 13:08:49.000000000 +0200
@@ -749,7 +749,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';