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

Unified Diff: net/base/cert_verifier.cc

Issue 556068: BSD port: USE_NSS and other macros instead of OS_LINUX where applicable (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
« no previous file with comments | « no previous file | net/base/ev_root_ca_metadata.h » ('j') | net/socket/client_socket.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cert_verifier.cc
===================================================================
--- net/base/cert_verifier.cc (revision 37474)
+++ net/base/cert_verifier.cc (working copy)
@@ -4,7 +4,7 @@
#include "net/base/cert_verifier.h"
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
#include <private/pprthred.h> // PR_DetatchThread
#endif
@@ -38,7 +38,7 @@
void DoVerify() {
// Running on the worker thread
error_ = cert_->Verify(hostname_, flags_, &result_);
-#if defined(OS_LINUX)
+#if defined(USE_NSS)
// Detach the thread from NSPR.
// Calling NSS functions attaches the thread to NSPR, which stores
// the NSPR thread ID in thread-specific data.
« no previous file with comments | « no previous file | net/base/ev_root_ca_metadata.h » ('j') | net/socket/client_socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698