summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorahendrickson@google.com <ahendrickson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 19:59:08 +0000
committerahendrickson@google.com <ahendrickson@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-14 19:59:08 +0000
commit4f3d77cd54c36802154cb8c483bed0abdcf75b8d (patch)
tree0d4f3b21ca3c4420baa0e47b265354c24affe649 /net
parent6b20726e46624d4b7d30bb2f698e0447476ab2eb (diff)
downloadchromium_src-4f3d77cd54c36802154cb8c483bed0abdcf75b8d.zip
chromium_src-4f3d77cd54c36802154cb8c483bed0abdcf75b8d.tar.gz
chromium_src-4f3d77cd54c36802154cb8c483bed0abdcf75b8d.tar.bz2
Changed the return error code if the GSSAPI library cannot be initialized.
BUG=33033 Test=None Review URL: http://codereview.chromium.org/2824003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/http/http_auth_gssapi_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_auth_gssapi_posix.cc b/net/http/http_auth_gssapi_posix.cc
index 7658e95..4ccdf40 100644
--- a/net/http/http_auth_gssapi_posix.cc
+++ b/net/http/http_auth_gssapi_posix.cc
@@ -414,7 +414,7 @@ int HttpAuthGSSAPI::GenerateAuthToken(const std::wstring* username,
bool initialized = library_->Init();
if (!initialized)
- return ERR_FAILED;
+ return ERR_UNSUPPORTED_AUTH_SCHEME;
if (!IsFinalRound()) {
int rv = OnFirstRound(username, password);