mirror of
https://github.com/curl/curl.git
synced 2026-07-23 08:57:18 +03:00
Renamed the CURLE_FTP_SSL_FAILED error code to CURLE_USE_SSL_FAILED.
Renamed the curl_ftpssl enum to curl_usessl and its enumerated constants, creating macros for backward compatibility.
This commit is contained in:
parent
ac6e0501c6
commit
3fa60164af
10 changed files with 62 additions and 36 deletions
|
|
@ -4323,15 +4323,15 @@ operate(struct Configurable *config, int argc, argv_item_t argv[])
|
|||
|
||||
/* new in curl 7.15.5 */
|
||||
if(config->ftp_ssl_reqd)
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLFTPSSL_ALL);
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
|
||||
|
||||
/* new in curl 7.11.0 */
|
||||
else if(config->ftp_ssl)
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLFTPSSL_TRY);
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_TRY);
|
||||
|
||||
/* new in curl 7.16.0 */
|
||||
else if(config->ftp_ssl_control)
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLFTPSSL_CONTROL);
|
||||
my_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_CONTROL);
|
||||
|
||||
/* new in curl 7.16.1 */
|
||||
if(config->ftp_ssl_ccc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue