Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: net/http/mock_gssapi_library_posix.cc

Issue 7655046: Linux: allow linking directly with Kerberos instead of using dlopen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/http/mock_gssapi_library_posix.cc
diff --git a/net/http/mock_gssapi_library_posix.cc b/net/http/mock_gssapi_library_posix.cc
index 5ae472102c69ab722a0f099d82b6df6ab73f69d6..6d44729e34f035e6127bd0917436f165a1628bd2 100644
--- a/net/http/mock_gssapi_library_posix.cc
+++ b/net/http/mock_gssapi_library_posix.cc
@@ -7,7 +7,6 @@
#include "base/logging.h"
#include "base/string_util.h"
#include "base/stringprintf.h"
-#include "net/third_party/gssapi/gssapi.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
@@ -279,7 +278,7 @@ OM_uint32 MockGSSAPILibrary::import_name(
// Save the data.
output->name = BufferToString(input_name_buffer);
CopyOid(&output->name_type, input_name_type);
- *output_name = output;
+ *output_name = reinterpret_cast<gss_name_t>(output);
cbentzel 2011/08/18 21:21:17 Not a bad thing - but was this needed? The gssap
Paweł Hajdan Jr. 2011/08/18 23:30:32 when using the system header static_cast doesn't w
cbentzel 2011/08/19 12:22:35 Ah, so gss_name_t is no longer a void* in the syst
return GSS_S_COMPLETE;
}

Powered by Google App Engine
This is Rietveld 408576698