From 58f940c0f1704c4490a660c6667183977e4ce151 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 18 Feb 2016 19:53:36 +0000 Subject: [PATCH] Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values --- include/osgDB/AuthenticationMap | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/include/osgDB/AuthenticationMap b/include/osgDB/AuthenticationMap index 5c36c07a8..178f548a3 100644 --- a/include/osgDB/AuthenticationMap +++ b/include/osgDB/AuthenticationMap @@ -35,10 +35,14 @@ public: { BASIC = 1<<0, DIGEST = 1<<1, - NTLM = 1<<2, - GSSNegotiate = 1<<2, - ANY = ~0, - ANYSAFE = ~BASIC + NEGOTIATE = 1<<2, + GSSNegotiate = NEGOTIATE, + NTLM = 1<<3, + DIGEST_IE = 1<<4, + NTLM_WB = 1<<5, + ONLY = 1<<31, + ANY = ~(DIGEST_IE), + ANYSAFE = ~(BASIC|DIGEST_IE) }; AuthenticationDetails(const std::string& u, const std::string& p, HttpAuthentication auth=BASIC):