Chromium Code Reviews

Unified Diff: net/test/test_server.h

Issue 5195001: Fixes the remaining net_unittests for OpenSSL, with the exceptions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clarify comment Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: net/test/test_server.h
diff --git a/net/test/test_server.h b/net/test/test_server.h
index 00a8fc950e45b7f3c071506a586039a3931b2697..1ae0a50867b5de02fcff02d16a022b542a3d30be 100644
--- a/net/test/test_server.h
+++ b/net/test/test_server.h
@@ -22,7 +22,7 @@
#include "base/scoped_handle_win.h"
#endif
-#if defined(USE_NSS)
+#if defined(USE_OPENSSL) || defined(USE_NSS)
#include "base/ref_counted.h"
#include "net/base/x509_certificate.h"
#endif
@@ -200,7 +200,7 @@ class TestServer {
// If |type_| is TYPE_HTTPS, the TLS settings to use for the test server.
HTTPSOptions https_options_;
-#if defined(USE_NSS)
+#if defined(USE_OPENSSL) || defined(USE_NSS)
scoped_refptr<X509Certificate> cert_;
#endif

Powered by Google App Engine