patch-src_pluto_alg_info_c 433 B

1234567891011
  1. --- strongswan-4.4.0.orig/src/pluto/alg_info.c 2010-03-15 21:52:51.000000000 +0100
  2. +++ strongswan-4.4.0/src/pluto/alg_info.c 2010-07-13 22:49:11.775081075 +0200
  3. @@ -414,7 +414,7 @@ struct alg_info_esp *alg_info_esp_create
  4. alg_info_esp = malloc_thing (struct alg_info_esp);
  5. zero(alg_info_esp);
  6. - pfs_name=index (alg_str, ';');
  7. + pfs_name=strchr (alg_str, ';');
  8. if (pfs_name)
  9. {
  10. memcpy(esp_buf, alg_str, pfs_name-alg_str);