diff options
Diffstat (limited to 'net/http/http_auth_handler_negotiate_unittest.cc')
-rw-r--r-- | net/http/http_auth_handler_negotiate_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_handler_negotiate_unittest.cc b/net/http/http_auth_handler_negotiate_unittest.cc index 63eab92..1d3de4e 100644 --- a/net/http/http_auth_handler_negotiate_unittest.cc +++ b/net/http/http_auth_handler_negotiate_unittest.cc @@ -15,6 +15,7 @@ #include "net/http/mock_sspi_library_win.h" #elif defined(OS_POSIX) #include "net/http/mock_gssapi_library_posix.h" +#include "net/third_party/gssapi/gssapi.h" #endif #include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" @@ -25,6 +26,7 @@ typedef net::MockSSPILibrary MockAuthLibrary; typedef net::test::MockGSSAPILibrary MockAuthLibrary; #endif + namespace net { class HttpAuthHandlerNegotiateTest : public PlatformTest { @@ -343,7 +345,6 @@ TEST_F(HttpAuthHandlerNegotiateTest, NoKerberosCredentials) { EXPECT_EQ(ERR_MISSING_AUTH_CREDENTIALS, callback.WaitForResult()); } -#if defined(DLOPEN_KERBEROS) TEST_F(HttpAuthHandlerNegotiateTest, MissingGSSAPI) { scoped_ptr<HostResolver> host_resolver(new MockHostResolver()); MockAllowURLSecurityManager url_security_manager; @@ -365,7 +366,6 @@ TEST_F(HttpAuthHandlerNegotiateTest, MissingGSSAPI) { EXPECT_EQ(ERR_UNSUPPORTED_AUTH_SCHEME, rv); EXPECT_TRUE(generic_handler.get() == NULL); } -#endif // defined(DLOPEN_KERBEROS) #endif // defined(OS_POSIX) |