aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2019-12-05 19:17:31 -0500
committerJay Satiro <raysatiro@yahoo.com>2019-12-05 19:17:31 -0500
commit689443bf426d3601e3facdbf1c1ee8a027775755 (patch)
treee22e66fef993499367c03686ed7d95696c503d25 /lib
parent0edf75865a8ab3783cb42acded8288108bbe3b5b (diff)
lib: fix some loose ends for recently added CURLSSLOPT_NO_PARTIALCHAIN
Add support for CURLSSLOPT_NO_PARTIALCHAIN in CURLOPT_PROXY_SSL_OPTIONS and OS400 package spec. Also I added the option to the NameValue list in the tool even though it isn't exposed as a command-line option (...yet?). (NameValue stringizes the option name for the curl cmd -> libcurl source generator) Follow-up to 564d88a which added CURLSSLOPT_NO_PARTIALCHAIN. Ref: https://github.com/curl/curl/pull/4655
Diffstat (limited to 'lib')
-rw-r--r--lib/setopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/setopt.c b/lib/setopt.c
index 57e1090ce..5f88ad3af 100644
--- a/lib/setopt.c
+++ b/lib/setopt.c
@@ -2142,6 +2142,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
data->set.proxy_ssl.enable_beast =
(bool)((arg&CURLSSLOPT_ALLOW_BEAST) ? TRUE : FALSE);
data->set.proxy_ssl.no_revoke = !!(arg & CURLSSLOPT_NO_REVOKE);
+ data->set.proxy_ssl.no_partialchain = !!(arg & CURLSSLOPT_NO_PARTIALCHAIN);
break;
#endif