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

Unified Diff: net/base/x509_certificate.h

Issue 174102: Enable SSLClientSocketTest unit tests on Mac OS X by implementing our own cer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « no previous file | net/base/x509_certificate.cc » ('j') | net/base/x509_certificate_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate.h
===================================================================
--- net/base/x509_certificate.h (revision 24466)
+++ net/base/x509_certificate.h (working copy)
@@ -209,6 +209,12 @@
// now.
bool HasExpired() const;
+#if defined(OS_MACOSX)
+ // Adds an untrusted intermediate certificate that may be needed for
wtc 2009/08/27 00:14:18 Nit: Fix indentation.
+ // chain building.
+ void AddIntermediateCertificate(SecCertificateRef cert);
+#endif
+
// Verifies the certificate against the given hostname. Returns OK if
// successful or an error code upon failure.
//
@@ -299,6 +305,12 @@
// A handle to the certificate object in the underlying crypto library.
OSCertHandle cert_handle_;
+#if defined(OS_MACOSX)
+ // Untrusted intermediate certificates associated with this certificate
+ // that may be needed for chain building.
+ CFMutableArrayRef intermediate_ca_certs_;
wtc 2009/08/27 00:14:18 intermediate_certs_ is fine. I found that Mac OS
+#endif
+
// Where the certificate comes from.
Source source_;
« no previous file with comments | « no previous file | net/base/x509_certificate.cc » ('j') | net/base/x509_certificate_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698