aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-07-22 06:24:00 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-07-22 06:24:00 +0000
commit7db7d06e280ac22ca9e854aa2eebf4f6009479d8 (patch)
tree3e74607171f252b4d93c2934abad7c85f81282b3
parentaf18c84ffb712fd72670dcdcea0e7a86eb7b890f (diff)
downloadstrongswan-7db7d06e280ac22ca9e854aa2eebf4f6009479d8.tar.bz2
strongswan-7db7d06e280ac22ca9e854aa2eebf4f6009479d8.tar.xz
missing FETCH_END caused SEGFAULT in ikev2/rw-hash-and-url scenario
-rw-r--r--src/charon/credentials/sets/auth_info_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charon/credentials/sets/auth_info_wrapper.c b/src/charon/credentials/sets/auth_info_wrapper.c
index 32783ff93..9307ff23f 100644
--- a/src/charon/credentials/sets/auth_info_wrapper.c
+++ b/src/charon/credentials/sets/auth_info_wrapper.c
@@ -73,7 +73,7 @@ static bool fetch_cert(wrapper_enumerator_t *enumerator, auth_item_t *type, void
certificate_t *cert;
DBG1(DBG_CFG, " fetching certificate from '%s' ...", url);
- if (lib->fetcher->fetch(lib->fetcher, url, &data) != SUCCESS)
+ if (lib->fetcher->fetch(lib->fetcher, url, &data, FETCH_END) != SUCCESS)
{
DBG1(DBG_CFG, " fetching certificate failed");
/* we set the item to NULL, so we can skip it */