Verified Commit 80b083f5 authored by Mike Perry's avatar Mike Perry Committed by Pier Angelo Vendrame
Browse files
parent 087d6b90
Loading
Loading
Loading
Loading
+4 −0
Changes for extensions/auth/nsHttpNegotiateAuth.cpp: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -145,6 +145,10 @@ nsHttpNegotiateAuth::ChallengeReceived(nsIHttpAuthenticableChannel* authChannel,
  nsIAuthModule* rawModule = (nsIAuthModule*)*continuationState;

  *identityInvalid = false;

  /* Always fail Negotiate auth for Tor Browser. We don't need it. */
  return NS_ERROR_ABORT;

  if (rawModule) {
    return NS_OK;
  }
+3 −0
Changes for netwerk/protocol/http/nsHttpNTLMAuth.cpp: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -167,6 +167,9 @@ nsHttpNTLMAuth::ChallengeReceived(nsIHttpAuthenticableChannel* channel,

  *identityInvalid = false;

  /* Always fail Negotiate auth for Tor Browser. We don't need it. */
  return NS_ERROR_ABORT;

  // Start a new auth sequence if the challenge is exactly "NTLM".
  // If native NTLM auth apis are available and enabled through prefs,
  // try to use them.