| 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..a7f862469b16325137d7d2b02f75633300c68594 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"
|
| @@ -24,7 +22,6 @@
|
| #include "base/synchronization/lock.h"
|
| #include "crypto/cssm_init.h"
|
| #include "crypto/mac_security_services_lock.h"
|
| -#include "crypto/nss_util.h"
|
| #include "net/cert/x509_util_mac.h"
|
|
|
| using base::ScopedCFTypeRef;
|
| @@ -206,18 +203,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_;
|
| -};
|
| -
|
| class ScopedEncodedCertResults {
|
| public:
|
| explicit ScopedEncodedCertResults(CSSM_TP_RESULT_SET* results)
|
|
|