summaryrefslogtreecommitdiff
path: root/lib/imap.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-10 12:13:55 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-10 12:13:55 +0000
commita1701eea289fe7ea80651f801cf992838a491dde (patch)
treeb002c4af80f1296ef2b10c35fc30817dfb032935 /lib/imap.h
parent8170d1f828e50f6badcc7902e557e105f73ccfdb (diff)
downloadcurl-a1701eea289fe7ea80651f801cf992838a491dde.tar.gz
imap: Added support for the STARTTLS capability (Part One)
Introduced detection of the STARTTLS capability, in order to add support for TLS upgrades without unconditionally sending the STARTTLS command.
Diffstat (limited to 'lib/imap.h')
-rw-r--r--lib/imap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/imap.h b/lib/imap.h
index eeedcff17..a8164c084 100644
--- a/lib/imap.h
+++ b/lib/imap.h
@@ -62,6 +62,7 @@ struct imap_conn {
int cmdid; /* Last used command ID */
char resptag[5]; /* Response tag to wait for */
bool ssldone; /* Is connect() over SSL done? */
+ bool tls_supported; /* StartTLS capability supported by server */
bool login_disabled; /* LOGIN command explicitly disabled by server */
bool ir_supported; /* Initial response supported by server */
};