patch-lib_libopenswan_alg_info_c 448 B

123456789101112
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- openswan-2.6.24.orig/lib/libopenswan/alg_info.c 2010-01-10 02:34:38.000000000 +0100
  3. +++ openswan-2.6.24/lib/libopenswan/alg_info.c 2010-01-19 23:28:18.000000000 +0100
  4. @@ -765,7 +765,7 @@ alg_info_discover_pfsgroup_hack(struct a
  5. static char err_buf[256];
  6. int ret;
  7. - pfs_name=index(esp_buf, ';');
  8. + pfs_name=strchr(esp_buf, ';');
  9. if(pfs_name) {
  10. *pfs_name='\0';