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

Unified Diff: net/cert/internal/cert_issuer_source_static.cc

Issue 1923433002: Certificate path builder for new certificate verification library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes for review comment #20 Created 4 years, 6 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/cert/internal/cert_issuer_source_static.cc
diff --git a/net/cert/internal/cert_issuer_source_static.cc b/net/cert/internal/cert_issuer_source_static.cc
index c7685f436a1bbf45b703e26b08614535eba21c5f..d8a42a3f30e3a223e870adbc6f1dd8d06cd41305 100644
--- a/net/cert/internal/cert_issuer_source_static.cc
+++ b/net/cert/internal/cert_issuer_source_static.cc
@@ -4,8 +4,6 @@
#include "net/cert/internal/cert_issuer_source_static.h"
-#include "net/cert/internal/parsed_certificate.h"
-
namespace net {
CertIssuerSourceStatic::CertIssuerSourceStatic() = default;
@@ -16,9 +14,8 @@ void CertIssuerSourceStatic::AddCert(scoped_refptr<ParsedCertificate> cert) {
cert->normalized_subject().AsStringPiece(), std::move(cert)));
}
-void CertIssuerSourceStatic::SyncGetIssuersOf(
- const ParsedCertificate* cert,
- std::vector<scoped_refptr<ParsedCertificate>>* issuers) {
+void CertIssuerSourceStatic::SyncGetIssuersOf(const ParsedCertificate* cert,
+ ParsedCertificateList* issuers) {
auto range =
intermediates_.equal_range(cert->normalized_issuer().AsStringPiece());
for (auto it = range.first; it != range.second; ++it)
« no previous file with comments | « net/cert/internal/cert_issuer_source_static.h ('k') | net/cert/internal/cert_issuer_source_static_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698