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

Unified Diff: net/cert/cert_verifier.cc

Issue 1081913003: Route OCSP stapling through CertVerifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@boringnss
Patch Set: yet another CrOS-only Verify call Created 5 years, 8 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 | « net/cert/cert_verifier.h ('k') | net/cert/cert_verify_proc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/cert_verifier.cc
diff --git a/net/cert/cert_verifier.cc b/net/cert/cert_verifier.cc
index e4acec4f2886c5792372c11d20114a15bfd85333..4152d55e583255d7c11383000688cafab6ec9349 100644
--- a/net/cert/cert_verifier.cc
+++ b/net/cert/cert_verifier.cc
@@ -4,13 +4,28 @@
#include "net/cert/cert_verifier.h"
+#include "build/build_config.h"
#include "net/cert/cert_verify_proc.h"
+
+#if defined(OS_NACL)
+#include "base/logging.h"
+#else
#include "net/cert/multi_threaded_cert_verifier.h"
+#endif
namespace net {
+bool CertVerifier::SupportsOCSPStapling() {
+ return false;
+}
+
CertVerifier* CertVerifier::CreateDefault() {
+#if defined(OS_NACL)
+ NOTIMPLEMENTED();
+ return nullptr;
+#else
return new MultiThreadedCertVerifier(CertVerifyProc::CreateDefault());
+#endif
}
} // namespace net
« no previous file with comments | « net/cert/cert_verifier.h ('k') | net/cert/cert_verify_proc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698