diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2015-01-27 18:08:18 +0100 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2015-01-27 18:08:18 +0100 |
commit | 7b2012f2628811e212ae936fa7246b6f8baa3218 (patch) | |
tree | 10edc8a77346e6629156ea863f72a34e74c21831 /lib/curl_sasl.c | |
parent | ed9a4b9fc46f967da9e6a355f860f2a43505f41b (diff) | |
download | curl-7b2012f2628811e212ae936fa7246b6f8baa3218.tar.gz |
sasl: remove XOAUTH2 from default enabled authentication mechanism.
Diffstat (limited to 'lib/curl_sasl.c')
-rw-r--r-- | lib/curl_sasl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index 2d55836cd..3fa6f344d 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -1440,8 +1440,7 @@ CURLcode Curl_sasl_start(struct SASL *sasl, struct connectdata *conn, } else #endif - if((((enabledmechs & SASL_MECH_XOAUTH2) && - sasl->prefmech != SASL_AUTH_DEFAULT)) || conn->xoauth2_bearer) { + if((enabledmechs & SASL_MECH_XOAUTH2) || conn->xoauth2_bearer) { mech = SASL_MECH_STRING_XOAUTH2; state1 = SASL_XOAUTH2; sasl->authused = SASL_MECH_XOAUTH2; |