loplugin:oncevar
Change-Id: Ic7c5ec9bb7cc7aff61279f2027cf5a9e1b31e36f
This commit is contained in:
@@ -291,14 +291,14 @@ extern "C" int NeonSession_NeonAuth( void * inUserData,
|
|||||||
//thePassWord = OUString::createFromAscii( inoutPassWord );
|
//thePassWord = OUString::createFromAscii( inoutPassWord );
|
||||||
}
|
}
|
||||||
|
|
||||||
bool bCanUseSystemCreds = false;
|
|
||||||
|
|
||||||
#if defined NE_FEATURE_SSPI && ! defined SYSTEM_NEON
|
#if defined NE_FEATURE_SSPI && ! defined SYSTEM_NEON
|
||||||
bCanUseSystemCreds
|
const bool bCanUseSystemCreds
|
||||||
= (attempt == 0) && // avoid endless loops
|
= (attempt == 0) && // avoid endless loops
|
||||||
ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
|
ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
|
||||||
( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
|
( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
|
||||||
( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
|
( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
|
||||||
|
#else
|
||||||
|
const bool bCanUseSystemCreds = false;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int theRetVal = pListener->authenticate(
|
int theRetVal = pListener->authenticate(
|
||||||
|
Reference in New Issue
Block a user