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

Unified Diff: net/base/x509_certificate_openssl.cc

Issue 7538029: Upstream certificate and mime Android implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS Created 9 years, 5 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/base/x509_certificate_openssl.cc
diff --git a/net/base/x509_certificate_openssl.cc b/net/base/x509_certificate_openssl.cc
index 5416a76563de3eb5567a757ceafc5dc8069f2776..519f6c2215d714cb7b7e7019747901a67780d43a 100644
--- a/net/base/x509_certificate_openssl.cc
+++ b/net/base/x509_certificate_openssl.cc
@@ -424,6 +424,8 @@ X509_STORE* X509Certificate::cert_store() {
return X509InitSingleton::GetInstance()->store();
}
+#if !defined(OS_ANDROID)
+
int X509Certificate::VerifyInternal(const std::string& hostname,
int flags,
CertVerifyResult* verify_result) const {
@@ -503,6 +505,8 @@ int X509Certificate::VerifyInternal(const std::string& hostname,
return OK;
}
+#endif // !OS_ANDROID
wtc 2011/08/09 18:47:22 !OS_ANDROID => !defined(OS_ANDROID)
michaelbai 2011/08/11 16:10:18 Done.
+
bool X509Certificate::GetDEREncoded(std::string* encoded) {
DERCache der_cache;
if (!GetDERAndCacheIfNeeded(cert_handle_, &der_cache))

Powered by Google App Engine
This is Rietveld 408576698