summaryrefslogtreecommitdiff
path: root/src/tool_operate.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-19 14:26:47 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-05-22 22:55:11 +0100
commita9499ff136d89987af885e2d7dff0a066a3e5817 (patch)
tree904b62365fed0947213dfe9d18de1bffa9404739 /src/tool_operate.c
parenta14d72ca2fec5d4eb5a043936e4f7ce08015c177 (diff)
downloadcurl-a9499ff136d89987af885e2d7dff0a066a3e5817.tar.gz
curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool
Diffstat (limited to 'src/tool_operate.c')
-rw-r--r--src/tool_operate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 462119a1c..db6f81fab 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -1501,6 +1501,10 @@ static CURLcode operate_do(struct GlobalConfig *global,
if(config->mail_auth)
my_setopt_str(curl, CURLOPT_MAIL_AUTH, config->mail_auth);
+ /* new in 7.66.0 */
+ if(config->sasl_authzid)
+ my_setopt_str(curl, CURLOPT_SASL_AUTHZID, config->sasl_authzid);
+
/* new in 7.31.0 */
if(config->sasl_ir)
my_setopt(curl, CURLOPT_SASL_IR, 1L);
@@ -1524,6 +1528,7 @@ static CURLcode operate_do(struct GlobalConfig *global,
config->unix_socket_path);
}
}
+
/* new in 7.45.0 */
if(config->proto_default)
my_setopt_str(curl, CURLOPT_DEFAULT_PROTOCOL, config->proto_default);