cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: giva: curl/lib getinfo.c,1.39,1.40

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 13 Dec 2004 20:48:29 +0100 (CET)

On Mon, 13 Dec 2004 cvs_at_labb.contactor.se wrote:

> + case CURLINFO_SSL_ENGINES:
> + Curl_SSL_engines_list(data);
> + *param_slistp = data->engine_list;
> + break;

As you can see now in the autobuilds, this breaks the build on all systems
that doesn't have engine support enabled... (since engine_list is only present
on those that have engine support)

Also, is there a reason why the function Curl_SSL_engines_list() doesn't
return the list instead of storing it in a struct member in the SessionHandle
struct? I would prefer the returned list to be the responsibility of the app
to free with curl_slist_free_all() and libcurl would thus not need to remember
this list.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-13