Displaying 1 result from an estimated 1 matches for "curl_config_help".
2020 Jan 17
1
[PATCH nbdkit] Add cainfo and capath options to curl plugin
...key, "cainfo") == 0) {
+ cainfo = value;
+ }
+
+ else if (strcmp (key, "capath") == 0) {
+ capath = value;
+ }
+
else {
nbdkit_error ("unknown parameter '%s'", key);
return -1;
@@ -253,6 +263,8 @@ curl_config_complete (void)
}
#define curl_config_help \
+ "cainfo=<CAINFO> Path to Certificate Authority file.\n" \
+ "capath=<CAPATH> Path to directory with CA certificates.\n" \
"cookie=<COOKIE> Set HTTP/HTTPS cookies.\n" \
"password=<PASSWORD>...