/external/curl/lib/ |
D | curl_sasl.c | 147 CURLcode Curl_sasl_parse_url_auth_option(struct SASL *sasl, in Curl_sasl_parse_url_auth_option() argument 157 if(sasl->resetprefs) { in Curl_sasl_parse_url_auth_option() 158 sasl->resetprefs = FALSE; in Curl_sasl_parse_url_auth_option() 159 sasl->prefmech = SASL_AUTH_NONE; in Curl_sasl_parse_url_auth_option() 163 sasl->prefmech = SASL_AUTH_DEFAULT; in Curl_sasl_parse_url_auth_option() 167 sasl->prefmech |= mechbit; in Curl_sasl_parse_url_auth_option() 180 void Curl_sasl_init(struct SASL *sasl, const struct SASLproto *params) in Curl_sasl_init() argument 182 sasl->params = params; /* Set protocol dependent parameters */ in Curl_sasl_init() 183 sasl->state = SASL_STOP; /* Not yet running */ in Curl_sasl_init() 184 sasl->authmechs = SASL_AUTH_NONE; /* No known authentication mechanism yet */ in Curl_sasl_init() [all …]
|
D | curl_sasl.h | 126 CURLcode Curl_sasl_parse_url_auth_option(struct SASL *sasl, 130 void Curl_sasl_init(struct SASL *sasl, const struct SASLproto *params); 133 bool Curl_sasl_can_authenticate(struct SASL *sasl, struct connectdata *conn); 136 CURLcode Curl_sasl_start(struct SASL *sasl, struct connectdata *conn, 140 CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,
|
D | pop3.c | 364 pop3c->sasl.authmechs = SASL_AUTH_NONE; /* No known auth. mechanisms yet */ in pop3_perform_capa() 365 pop3c->sasl.authused = SASL_AUTH_NONE; /* Clear the auth. mechanism used */ in pop3_perform_capa() 557 if(!Curl_sasl_can_authenticate(&pop3c->sasl, conn)) { in pop3_perform_authentication() 564 result = Curl_sasl_start(&pop3c->sasl, conn, FALSE, &progress); in pop3_perform_authentication() 758 pop3c->sasl.authmechs |= mechbit; in pop3_state_capa_resp() 828 result = Curl_sasl_continue(&pop3c->sasl, conn, pop3code, &progress); in pop3_state_auth_resp() 1132 Curl_sasl_init(&pop3c->sasl, &saslpop3); in pop3_connect() 1280 Curl_sasl_cleanup(conn, pop3c->sasl.authused); in pop3_disconnect() 1401 pop3c->sasl.resetprefs = TRUE; in pop3_parse_url_options() 1416 result = Curl_sasl_parse_url_auth_option(&pop3c->sasl, in pop3_parse_url_options() [all …]
|
D | smtp.c | 354 smtpc->sasl.authmechs = SASL_AUTH_NONE; /* No known auth. mechanism yet */ in smtp_perform_ehlo() 355 smtpc->sasl.authused = SASL_AUTH_NONE; /* Clear the authentication mechanism in smtp_perform_ehlo() 380 smtpc->sasl.authused = SASL_AUTH_NONE; /* No authentication mechanism used in smtp_perform_helo() 493 !Curl_sasl_can_authenticate(&smtpc->sasl, conn)) { in smtp_perform_authentication() 499 result = Curl_sasl_start(&smtpc->sasl, conn, FALSE, &progress); in smtp_perform_authentication() 570 if(data->set.str[STRING_MAIL_AUTH] && conn->proto.smtpc.sasl.authused) { in smtp_perform_mail() 775 smtpc->sasl.authmechs |= mechbit; in smtp_state_ehlo_resp() 836 result = Curl_sasl_continue(&smtpc->sasl, conn, smtpcode, &progress); in smtp_state_auth_resp() 1161 Curl_sasl_init(&smtpc->sasl, &saslsmtp); in smtp_connect() 1374 Curl_sasl_cleanup(conn, smtpc->sasl.authused); in smtp_disconnect() [all …]
|
D | imap.c | 467 imapc->sasl.authmechs = SASL_AUTH_NONE; /* No known auth. mechanisms yet */ in imap_perform_capability() 468 imapc->sasl.authused = SASL_AUTH_NONE; /* Clear the auth. mechanism used */ in imap_perform_capability() 618 if(!Curl_sasl_can_authenticate(&imapc->sasl, conn)) { in imap_perform_authentication() 624 result = Curl_sasl_start(&imapc->sasl, conn, imapc->ir_supported, &progress); in imap_perform_authentication() 915 imapc->sasl.authmechs |= mechbit; in imap_state_capability_resp() 980 result = Curl_sasl_continue(&imapc->sasl, conn, imapcode, &progress); in imap_state_auth_resp() 1425 Curl_sasl_init(&imapc->sasl, &saslimap); in imap_connect() 1633 Curl_sasl_cleanup(conn, imapc->sasl.authused); in imap_disconnect() 1924 imapc->sasl.resetprefs = TRUE; in imap_parse_url_options() 1939 result = Curl_sasl_parse_url_auth_option(&imapc->sasl, in imap_parse_url_options() [all …]
|
D | smtp.h | 70 struct SASL sasl; /* SASL-related storage */ member
|
D | imap.h | 74 struct SASL sasl; /* SASL-related parameters */ member
|
D | pop3.h | 68 struct SASL sasl; /* SASL-related storage */ member
|
/external/curl/tests/data/ |
D | test871 | 42 pop3://%HOSTIP:%POP3PORT/871 -u user:secret --sasl-ir
|
D | test885 | 42 'pop3://user;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/885' --sasl-ir
|
D | test886 | 42 'pop3://;AUTH=EXTERNAL@%HOSTIP:%POP3PORT/886' --sasl-ir
|
D | test872 | 42 pop3://%HOSTIP:%POP3PORT/872 -u user:secret --sasl-ir
|
D | test874 | 42 pop3://%HOSTIP:%POP3PORT/874 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
|
D | test945 | 35 …STIP:%SMTPPORT/945' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
|
D | test919 | 35 …/919 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
|
D | test922 | 35 …t@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
|
D | test920 | 35 …/920 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret --sasl-ir -T -
|
D | test944 | 35 …STIP:%SMTPPORT/944' --mail-rcpt recipient@example.com --mail-from sender@example.com --sasl-ir -T -
|
D | test888 | 43 pop3://%HOSTIP:%POP3PORT/888 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
|
D | test873 | 53 pop3://%HOSTIP:%POP3PORT/873 -u testuser:testpass --sasl-ir
|
D | test947 | 36 …t@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
|
D | test890 | 35 pop3://%HOSTIP:%POP3PORT/890 -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir
|
D | test921 | 46 …-mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T -
|
D | test949 | 37 …t@example.com --mail-from sender@example.com -u user --oauth2-bearer mF_9.B5f-4.1JqM --sasl-ir -T -
|
/external/icu/icu4c/source/data/sprep/ |
D | rfc4013.txt | 15 …destdir=out --src-filename=rfc3454.txt --dest-filename=rfc4013.txt --A1 --sasl --C12 --C21 --C22 -…
|