From a9499ff136d89987af885e2d7dff0a066a3e5817 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Fri, 19 Apr 2019 14:26:47 +0100 Subject: curl: --sasl-authzid added to support CURLOPT_SASL_AUTHZID from the tool --- src/tool_operate.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/tool_operate.c') 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); -- cgit v1.2.3