diff options
author | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-29 20:51:19 +0000 |
---|---|---|
committer | ukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-29 20:51:19 +0000 |
commit | e3fffe8eeeb52edd730102876d7b37a3dec9434d (patch) | |
tree | e77fb5a7f8a00730b3478827b351ba3fa698064b | |
parent | 4098ab57d4d148ed64ba0f66fbea5439ffd567f0 (diff) | |
download | chromium_src-e3fffe8eeeb52edd730102876d7b37a3dec9434d.zip chromium_src-e3fffe8eeeb52edd730102876d7b37a3dec9434d.tar.gz chromium_src-e3fffe8eeeb52edd730102876d7b37a3dec9434d.tar.bz2 |
Don't return true from unimplemented X509Certificate::IsEV.
Move linux version of X509Certificate::IsEV in x509certificate_nss.cc
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14883 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/base/x509_certificate.cc | 8 | ||||
-rw-r--r-- | net/base/x509_certificate_nss.cc | 6 |
2 files changed, 6 insertions, 8 deletions
diff --git a/net/base/x509_certificate.cc b/net/base/x509_certificate.cc index 1abee59..1655712 100644 --- a/net/base/x509_certificate.cc +++ b/net/base/x509_certificate.cc @@ -192,12 +192,4 @@ X509Certificate::~X509Certificate() { FreeOSCertHandle(cert_handle_); } -#if defined(OS_LINUX) -// TODO(port): Implement properly on Linux. -bool X509Certificate::IsEV(int status) const { - NOTIMPLEMENTED(); - return true; -} -#endif - } // namespace net diff --git a/net/base/x509_certificate_nss.cc b/net/base/x509_certificate_nss.cc index 6fd5d2c..b745228 100644 --- a/net/base/x509_certificate_nss.cc +++ b/net/base/x509_certificate_nss.cc @@ -252,4 +252,10 @@ X509Certificate::Fingerprint X509Certificate::CalculateFingerprint( return sha1; } +// TODO(port): Implement properly on Linux. +bool X509Certificate::IsEV(int status) const { + NOTIMPLEMENTED(); + return false; +} + } // namespace net |