imap: Added support for ;auth=<mech> in the URL
Added support for specifying the preferred authentication mechanism in the URL as per RFC-5092.
This commit is contained in:
@@ -76,6 +76,7 @@ struct imap_conn {
|
||||
imapstate state; /* Always use imap.c:state() to change state! */
|
||||
bool ssldone; /* Is connect() over SSL done? */
|
||||
unsigned int authmechs; /* Accepted authentication mechanisms */
|
||||
unsigned int prefmech; /* Preferred authentication mechanism */
|
||||
unsigned int authused; /* Auth mechanism used for the connection */
|
||||
int cmdid; /* Last used command ID */
|
||||
char resptag[5]; /* Response tag to wait for */
|
||||
|
||||
Reference in New Issue
Block a user