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

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

Issue 2252933002: Make TrustStore into an interface, move impl to TrustStoreInMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
Index: net/cert/internal/path_builder_pkits_unittest.cc
diff --git a/net/cert/internal/path_builder_pkits_unittest.cc b/net/cert/internal/path_builder_pkits_unittest.cc
index 86345c7c89c8de58a9f48b3947c04c3fab95aec5..996855480cff2ca61361136e952bba6b7d106b60 100644
--- a/net/cert/internal/path_builder_pkits_unittest.cc
+++ b/net/cert/internal/path_builder_pkits_unittest.cc
@@ -9,7 +9,7 @@
#include "net/cert/internal/parse_certificate.h"
#include "net/cert/internal/parsed_certificate.h"
#include "net/cert/internal/signature_policy.h"
-#include "net/cert/internal/trust_store.h"
+#include "net/cert/internal/trust_store_static.h"
#include "net/cert/internal/verify_certificate_chain.h"
#include "net/der/input.h"
@@ -66,7 +66,7 @@ class PathBuilderPkitsTestDelegate {
}
// First entry in the PKITS chain is the trust anchor.
// TODO(mattm): test with all possible trust anchors in the trust store?
- TrustStore trust_store;
+ TrustStoreStatic trust_store;
scoped_refptr<TrustAnchor> trust_anchor =
TrustAnchor::CreateFromCertificateNoConstraints(certs[0]);

Powered by Google App Engine
This is Rietveld 408576698