mirror of
https://github.com/curl/curl.git
synced 2026-04-21 22:52:11 +03:00
Caller must free 'engines' list.
This commit is contained in:
parent
7d3f5d7ac1
commit
e181eda253
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue