Index: net/base/x509_certificate_openssl_android.cc |
diff --git a/net/base/x509_certificate_openssl_android.cc b/net/base/x509_certificate_openssl_android.cc |
index fa01c5737bee90a57bca247711c8487914468612..453178195e82ed76db85aa74d77971977e63465f 100644 |
--- a/net/base/x509_certificate_openssl_android.cc |
+++ b/net/base/x509_certificate_openssl_android.cc |
@@ -23,7 +23,8 @@ int X509Certificate::VerifyInternal(const std::string& hostname, |
GetChainDEREncodedBytes(&cert_bytes); |
// TODO(joth): Fetch the authentication type from SSL rather than hardcode. |
- android::VerifyResult result = |
+ // TODO(jingzhao): Uncomment the following code once we support JNI. |
+ /*android::VerifyResult result = |
android::VerifyX509CertChain(cert_bytes, hostname, "RSA"); |
joth
2011/11/02 18:57:05
just #if 0 out this one line, and in the #else ini
Jing Zhao
2011/11/03 17:49:08
Done.
|
switch (result) { |
case android::VERIFY_OK: |
@@ -38,7 +39,7 @@ int X509Certificate::VerifyInternal(const std::string& hostname, |
default: |
verify_result->cert_status |= ERR_CERT_INVALID; |
break; |
- } |
+ }*/ |
return MapCertStatusToNetError(verify_result->cert_status); |
} |