summaryrefslogtreecommitdiff
path: root/lib/curl_sasl.h
diff options
context:
space:
mode:
authorPatrick Monnerat <pm@datasphere.ch>2015-01-27 18:08:18 +0100
committerPatrick Monnerat <pm@datasphere.ch>2015-01-27 18:08:18 +0100
commit7b2012f2628811e212ae936fa7246b6f8baa3218 (patch)
tree10edc8a77346e6629156ea863f72a34e74c21831 /lib/curl_sasl.h
parented9a4b9fc46f967da9e6a355f860f2a43505f41b (diff)
downloadgnurl-7b2012f2628811e212ae936fa7246b6f8baa3218.tar.gz
gnurl-7b2012f2628811e212ae936fa7246b6f8baa3218.tar.bz2
gnurl-7b2012f2628811e212ae936fa7246b6f8baa3218.zip
sasl: remove XOAUTH2 from default enabled authentication mechanism.
Diffstat (limited to 'lib/curl_sasl.h')
-rw-r--r--lib/curl_sasl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_sasl.h b/lib/curl_sasl.h
index 985ca416e..0dc73770f 100644
--- a/lib/curl_sasl.h
+++ b/lib/curl_sasl.h
@@ -52,7 +52,8 @@ struct kerberos5data;
/* Authentication mechanism values */
#define SASL_AUTH_NONE 0
#define SASL_AUTH_ANY ~0U
-#define SASL_AUTH_DEFAULT (SASL_AUTH_ANY & ~SASL_MECH_EXTERNAL)
+#define SASL_AUTH_DEFAULT (SASL_AUTH_ANY & \
+ ~(SASL_MECH_EXTERNAL | SASL_MECH_XOAUTH2))
/* Authentication mechanism strings */
#define SASL_MECH_STRING_LOGIN "LOGIN"