From 078d1fbf2b9d2d3a79f03c92ddca6fb0c6f1a434 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Thu, 14 Aug 2014 23:25:37 +0100 Subject: email: Added mutual authentication flag --- lib/imap.h | 1 + lib/pop3.h | 1 + lib/smtp.h | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/imap.h b/lib/imap.h index c7f76f5a0..768fc4b8c 100644 --- a/lib/imap.h +++ b/lib/imap.h @@ -92,6 +92,7 @@ struct imap_conn { bool tls_supported; /* StartTLS capability supported by server */ bool login_disabled; /* LOGIN command disabled by server */ bool ir_supported; /* Initial response supported by server */ + bool mutual_auth; /* Mutual authentication enabled (GSSAPI only) */ char *mailbox; /* The last selected mailbox */ char *mailbox_uidvalidity; /* UIDVALIDITY parsed from select response */ }; diff --git a/lib/pop3.h b/lib/pop3.h index 39e35d2da..729a55ad5 100644 --- a/lib/pop3.h +++ b/lib/pop3.h @@ -84,6 +84,7 @@ struct pop3_conn { unsigned int authused; /* SASL auth mechanism used for the connection */ char *apoptimestamp; /* APOP timestamp from the server greeting */ bool tls_supported; /* StartTLS capability supported by server */ + bool mutual_auth; /* Mutual authentication enabled (GSSAPI only) */ }; extern const struct Curl_handler Curl_handler_pop3; diff --git a/lib/smtp.h b/lib/smtp.h index e2a19c639..db1b1e672 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -86,6 +86,7 @@ struct smtp_conn { bool size_supported; /* If server supports SIZE extension according to RFC 1870 */ bool auth_supported; /* AUTH capability supported by server */ + bool mutual_auth; /* Mutual authentication enabled (GSSAPI only) */ }; extern const struct Curl_handler Curl_handler_smtp; -- cgit v1.2.3