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

Unified Diff: net/cert/crl_set.cc

Issue 188873004: Compile src/net for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/cert/crl_set.cc
diff --git a/net/cert/crl_set.cc b/net/cert/crl_set.cc
index de0651666d86050961e4d4a2c9ceb73581e3e3c4..1dd55d765b98a55bea6e6976cabbb60385865680 100644
--- a/net/cert/crl_set.cc
+++ b/net/cert/crl_set.cc
@@ -21,6 +21,10 @@ namespace net {
// bytes at |out| and must be exactly equal to the size of the decompressed
// data.
static bool DecompressZlib(uint8* out, int out_len, base::StringPiece in) {
+#if defined(OS_NACL)
+ NOTIMPLEMENTED();
+ return false;
+#else // defined(OS_NACL)
z_stream z;
memset(&z, 0, sizeof(z));
@@ -42,6 +46,7 @@ static bool DecompressZlib(uint8* out, int out_len, base::StringPiece in) {
err:
inflateEnd(&z);
return ret;
+#endif // !defined(OS_NACL)
Ryan Sleevi 2014/03/06 22:02:17 This approach is really ugly here. CRLSets won't w
Sergey Ulanov 2014/03/07 00:19:47 SSLClientSocket depends on CertVerifier and CertVe
}
CRLSet::CRLSet()

Powered by Google App Engine
This is Rietveld 408576698