Commit 317795d1 authored by Steve Holme's avatar Steve Holme
Browse files

http.c: Remove duplicate (authp->avail & CURLAUTH_DIGEST) check

From commit 2708d425.
parent b820e40f
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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;