mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Caller must free 'engines' list.
This commit is contained in:
parent
7d3f5d7ac1
commit
e181eda253
@ -3029,10 +3029,11 @@ operate(struct Configurable *config, int argc, char *argv[])
|
||||
|
||||
|
||||
if (config->list_engines) {
|
||||
const struct curl_slist *engines = NULL;
|
||||
struct curl_slist *engines = NULL;
|
||||
|
||||
curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines);
|
||||
list_engines(engines);
|
||||
curl_slist_free_all(engines);
|
||||
res = CURLE_OK;
|
||||
goto quit_curl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user