summaryrefslogtreecommitdiffstats
path: root/net/base/x509_certificate_mac.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 23:02:10 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-05 23:02:10 +0000
commit0dfee7c217bcefb0cf322a6f87b8a9f866637e2f (patch)
tree85361c81826419d97f224bd17ef58dbbda612e6f /net/base/x509_certificate_mac.cc
parent4a4d43b3b71d7dbadd2c9b2f1ef413666c43c006 (diff)
downloadchromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.zip
chromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.tar.gz
chromium_src-0dfee7c217bcefb0cf322a6f87b8a9f866637e2f.tar.bz2
Add X509Certificate::Verify stubs for Mac and Linux.
They do nothing but return ERR_NOT_IMPLEMENTED. In SSLClientSocketWin, call X509Certificate::CreateFromHandle only once and store the result in the server_cert_ member. Add the CertVerifyResult::Reset method to clear all members. R=eroman BUG=3592 Review URL: http://codereview.chromium.org/21071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/x509_certificate_mac.cc')
-rw-r--r--net/base/x509_certificate_mac.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/base/x509_certificate_mac.cc b/net/base/x509_certificate_mac.cc
index ac60645..e231653 100644
--- a/net/base/x509_certificate_mac.cc
+++ b/net/base/x509_certificate_mac.cc
@@ -11,6 +11,7 @@
#include "base/pickle.h"
#include "net/base/cert_status_flags.h"
#include "net/base/ev_root_ca_metadata.h"
+#include "net/base/net_errors.h"
using base::Time;
@@ -251,6 +252,13 @@ void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
if (dns_names->empty())
dns_names->push_back(subject_.common_name);
}
+
+int X509Certificate::Verify(const std::string& hostname,
+ bool rev_checking_enabled,
+ CertVerifyResult* verify_result) const {
+ NOTIMPLEMENTED();
+ return ERR_NOT_IMPLEMENTED;
+}
// Returns true if the certificate is an extended-validation certificate.
//