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

Unified Diff: net/base/x509_util_ios.cc

Issue 11579002: Add X509Certificate::IsIssuedByEncoded() (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add X509CertificateTest.IsIssuedByEncoded unit test Created 7 years, 11 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
Index: net/base/x509_util_ios.cc
diff --git a/net/base/x509_util_ios.cc b/net/base/x509_util_ios.cc
index f14ee10abe7e771fffe8b4c6ee8b25e6d8b051f1..66fc2aabc1900168728ccc40f8de3d7fac1837f6 100644
--- a/net/base/x509_util_ios.cc
+++ b/net/base/x509_util_ios.cc
@@ -12,6 +12,7 @@
#include "base/mac/scoped_cftyperef.h"
#include "crypto/nss_util.h"
#include "net/base/x509_certificate.h"
+#include "net/base/x509_util_nss.h"
using base::mac::ScopedCFTypeRef;
@@ -132,6 +133,9 @@ CERTCertificate* NSSCertChain::cert_handle() const {
return certs_.empty() ? NULL : certs_.front();
}
+const std::vector<CERTCertificate*>& NSSCertChain::cert_chain() const {
+ return certs_;
+}
+
} // namespace x509_util_ios
} // namespace net
-

Powered by Google App Engine
This is Rietveld 408576698