diff options
author | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 19:15:29 +0000 |
---|---|---|
committer | cbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-08 19:15:29 +0000 |
commit | 243b4f0b3c3aa4e48064ae01337ba2554d367074 (patch) | |
tree | 7390164cf2d97fa42b72d63aae3466f7bd3549ba /net | |
parent | ddf217888a31354ddd9dc6ef070a32e26d999be2 (diff) | |
download | chromium_src-243b4f0b3c3aa4e48064ae01337ba2554d367074.zip chromium_src-243b4f0b3c3aa4e48064ae01337ba2554d367074.tar.gz chromium_src-243b4f0b3c3aa4e48064ae01337ba2554d367074.tar.bz2 |
Add logging for ERR_UNEXPECTED_SECURITY_LIBRARY_STATUS on AcquireCredentialsHandle.
This was being done for InitSecurityContext, but duplicated here.
BUG=72126
TEST=None
Review URL: http://codereview.chromium.org/6449004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/http/http_auth_sspi_win.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/http/http_auth_sspi_win.cc b/net/http/http_auth_sspi_win.cc index c5264cd..1a629f1 100644 --- a/net/http/http_auth_sspi_win.cc +++ b/net/http/http_auth_sspi_win.cc @@ -27,6 +27,9 @@ int MapAcquireCredentialsStatusToError(SECURITY_STATUS status, case SEC_E_INSUFFICIENT_MEMORY: return ERR_OUT_OF_MEMORY; case SEC_E_INTERNAL_ERROR: + LOG(WARNING) + << "AcquireCredentialsHandle returned unexpected status 0x" + << std::hex << status; return ERR_UNEXPECTED_SECURITY_LIBRARY_STATUS; case SEC_E_NO_CREDENTIALS: case SEC_E_NOT_OWNER: @@ -37,7 +40,7 @@ int MapAcquireCredentialsStatusToError(SECURITY_STATUS status, return ERR_UNSUPPORTED_AUTH_SCHEME; default: LOG(WARNING) - << "AcquireSecurityCredentials returned undocumented status 0x" + << "AcquireCredentialsHandle returned undocumented status 0x" << std::hex << status; return ERR_UNDOCUMENTED_SECURITY_LIBRARY_STATUS; } |