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

Unified Diff: net/cert/x509_certificate_mac.cc

Issue 173853014: Make OpenSSL UpdateServerCert() OS independent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/socket/ssl_client_socket_openssl.cc » ('j') | net/socket/ssl_client_socket_openssl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/x509_certificate_mac.cc
diff --git a/net/cert/x509_certificate_mac.cc b/net/cert/x509_certificate_mac.cc
index 1d874c4b023b29541eb0dc5883e34c5d78c00335..f49587b17d97a8e4e12f58f7419b375d76828b7e 100644
--- a/net/cert/x509_certificate_mac.cc
+++ b/net/cert/x509_certificate_mac.cc
@@ -8,8 +8,6 @@
#include <CoreServices/CoreServices.h>
#include <Security/Security.h>
-#include <cert.h>
-
#include <vector>
#include "base/lazy_instance.h"
@@ -206,18 +204,6 @@ struct CSSMOIDString {
typedef std::vector<CSSMOIDString> CSSMOIDStringVector;
-class ScopedCertName {
- public:
- explicit ScopedCertName(CERTName* name) : name_(name) { }
- ~ScopedCertName() {
- if (name_) CERT_DestroyName(name_);
- }
- operator CERTName*() { return name_; }
-
- private:
- CERTName* name_;
-};
Ryan Sleevi 2014/02/21 22:34:38 Unrelated cleanups are best left for a separate CL
-
class ScopedEncodedCertResults {
public:
explicit ScopedEncodedCertResults(CSSM_TP_RESULT_SET* results)
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | net/socket/ssl_client_socket_openssl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698