summaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-02-10 12:16:27 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-02-10 12:16:27 +0000
commit2f66ca11c1aaa85343cedeccdfa9804614500b58 (patch)
tree0dca6bcd84e793562b22ce7e8fbe8cee27b26758 /lib/pop3.h
parenta1701eea289fe7ea80651f801cf992838a491dde (diff)
downloadcurl-2f66ca11c1aaa85343cedeccdfa9804614500b58.tar.gz
pop3: Added support for the STLS capability (Part One)
Introduced detection of the STLS capability, in order to add support for TLS upgrades without unconditionally sending the STLS command.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pop3.h b/lib/pop3.h
index b9d7bd4e6..c37b009dd 100644
--- a/lib/pop3.h
+++ b/lib/pop3.h
@@ -66,6 +66,7 @@ struct pop3_conn {
char *apoptimestamp; /* APOP timestamp from the server greeting */
pop3state state; /* Always use pop3.c:state() to change state! */
bool ssldone; /* Is connect() over SSL done? */
+ bool tls_supported; /* StartTLS capability supported by server */
};
extern const struct Curl_handler Curl_handler_pop3;