[gvfs] ftp: Detect TLS and SSL support
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] ftp: Detect TLS and SSL support
- Date: Wed, 8 Dec 2010 11:38:14 +0000 (UTC)
commit 4a654e0c6c0b5ca7383bd9b833b82d76c3a93302
Author: Benjamin Otte <otte redhat com>
Date: Tue Dec 7 15:03:14 2010 +0100
ftp: Detect TLS and SSL support
daemon/gvfsbackendftp.c | 2 ++
daemon/gvfsbackendftp.h | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendftp.c b/daemon/gvfsbackendftp.c
index b4e1b2d..a257d75 100644
--- a/daemon/gvfsbackendftp.c
+++ b/daemon/gvfsbackendftp.c
@@ -102,6 +102,8 @@ gvfs_backend_ftp_determine_features (GVfsFtpTask *task)
{ "EPRT", G_VFS_FTP_FEATURE_EPRT },
{ "EPSV", G_VFS_FTP_FEATURE_EPSV },
{ "UTF8", G_VFS_FTP_FEATURE_UTF8 },
+ { "AUTH TLS", G_VFS_FTP_FEATURE_AUTH_TLS },
+ { "AUTH SSL", G_VFS_FTP_FEATURE_AUTH_SSL },
};
guint i, j;
char **reply;
diff --git a/daemon/gvfsbackendftp.h b/daemon/gvfsbackendftp.h
index 5923d17..71b7af4 100644
--- a/daemon/gvfsbackendftp.h
+++ b/daemon/gvfsbackendftp.h
@@ -36,7 +36,9 @@ typedef enum {
G_VFS_FTP_FEATURE_TVFS,
G_VFS_FTP_FEATURE_EPRT,
G_VFS_FTP_FEATURE_EPSV,
- G_VFS_FTP_FEATURE_UTF8
+ G_VFS_FTP_FEATURE_UTF8,
+ G_VFS_FTP_FEATURE_AUTH_TLS,
+ G_VFS_FTP_FEATURE_AUTH_SSL
} GVfsFtpFeature;
#define G_VFS_FTP_FEATURES_DEFAULT (0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]