missing FETCH_END caused SEGFAULT in ikev2/rw-hash-and-url scenario
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 22 Jul 2008 06:24:00 +0000 (06:24 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 22 Jul 2008 06:24:00 +0000 (06:24 -0000)
src/charon/credentials/sets/auth_info_wrapper.c

index 32783ff..9307ff2 100644 (file)
@@ -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 */