aboutsummaryrefslogtreecommitdiff
path: root/src/tool_help.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-22 16:04:30 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-22 16:47:59 +0000
commit6969e24aee2031d9f99b9281f452b5b496c1f353 (patch)
tree68102c713f041f3679bb6b3cdc506901f8b19ef4 /src/tool_help.c
parente08d0662b7b6e22d0f09b445141fd7827ae68478 (diff)
tool_operate: Moved list engines into separate function in tool_help
Diffstat (limited to 'src/tool_help.c')
-rw-r--r--src/tool_help.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c
index fbd08e8af..7c74927eb 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -23,6 +23,7 @@
#include "tool_panykey.h"
#include "tool_help.h"
+#include "tool_operhlp.h"
#include "memdebug.h" /* keep this as LAST include */
@@ -256,3 +257,12 @@ void tool_help(void)
#endif
}
}
+
+void tool_list_engines(CURL *curl)
+{
+ struct curl_slist *engines = NULL;
+
+ curl_easy_getinfo(curl, CURLINFO_SSL_ENGINES, &engines);
+ list_engines(engines);
+ curl_slist_free_all(engines);
+}