git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15109 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-10-07 14:47:15 +00:00
parent 0c24567257
commit eea99cb1e2
1 changed files with 4 additions and 4 deletions

View File

@ -374,15 +374,15 @@ static switch_status_t do_config(void)
auth_scheme = 0;
val++;
}
if (!strcasecmp(val, "basic")) {
auth_scheme |= CURLAUTH_BASIC;
} else if (!strcasecmp(val, "digest")) {
auth_scheme = CURLAUTH_DIGEST;
auth_scheme |= CURLAUTH_DIGEST;
} else if (!strcasecmp(val, "NTLM")) {
auth_scheme = CURLAUTH_NTLM;
auth_scheme |= CURLAUTH_NTLM;
} else if (!strcasecmp(val, "GSS-NEGOTIATE")) {
auth_scheme = CURLAUTH_GSSNEGOTIATE;
auth_scheme |= CURLAUTH_GSSNEGOTIATE;
} else if (!strcasecmp(val, "any")) {
auth_scheme = CURLAUTH_ANY;
}