diff options
author | Mantas Mikulėnas <grawity@gmail.com> | 2018-06-09 16:58:32 +0300 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2018-07-30 14:32:04 +0000 |
commit | 708fd040f8848e9afdf30a91a2c0c87e49f13ba9 (patch) | |
tree | 0f57fbafe53bbf4b6ded98ea7cd237b71bb21702 /daemon/gvfsftptask.h | |
parent | 7b991137b8a820f018ddaa970d54f91d1f411a0f (diff) | |
download | gvfs-708fd040f8848e9afdf30a91a2c0c87e49f13ba9.tar.gz |
ftp: Add implicit TLS mode
Although specs discourage it, ftps:// is generally accepted to mean
"implicit" TLS on a separate port (in the same style as HTTPS); some
servers still use this method and it's regaining popularity within IANA.
gvfs couldn't connect to such servers, as it only implemented "explicit"
TLS (STARTTLS) mode.
This patch implements "implicit" TLS mode and adds the 'ftpis' URI
scheme for it.
https://gitlab.gnome.org/GNOME/gvfs/issues/4
Diffstat (limited to 'daemon/gvfsftptask.h')
-rw-r--r-- | daemon/gvfsftptask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsftptask.h b/daemon/gvfsftptask.h index f2626baf..744169b3 100644 --- a/daemon/gvfsftptask.h +++ b/daemon/gvfsftptask.h @@ -93,7 +93,7 @@ gboolean g_vfs_ftp_task_login (GVfsFtpTask * const char * password); void g_vfs_ftp_task_setup_connection (GVfsFtpTask * task); -gboolean g_vfs_ftp_task_enable_tls (GVfsFtpTask * task, +gboolean g_vfs_ftp_task_initial_handshake (GVfsFtpTask * task, CertificateCallback cb, gpointer user_data); |