mirror of
https://github.com/curl/curl.git
synced 2026-07-26 13:27:16 +03:00
http.c: Remove duplicate (authp->avail & CURLAUTH_DIGEST) check
From commit 2708d4259b.
This commit is contained in:
parent
b820e40f34
commit
317795d1bf
1 changed files with 2 additions and 4 deletions
|
|
@ -858,11 +858,9 @@ CURLcode Curl_http_input_auth(struct connectdata *conn, bool proxy,
|
|||
#endif
|
||||
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||
if(checkprefix("Digest", auth)) {
|
||||
if((authp->avail & CURLAUTH_DIGEST) != 0) {
|
||||
if((authp->avail & CURLAUTH_DIGEST) != 0)
|
||||
infof(data, "Ignoring duplicate digest auth header.\n");
|
||||
}
|
||||
else if((authp->avail & CURLAUTH_DIGEST) ||
|
||||
Curl_auth_is_digest_supported()) {
|
||||
else if(Curl_auth_is_digest_supported()) {
|
||||
CURLcode result;
|
||||
|
||||
*availp |= CURLAUTH_DIGEST;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue