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

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

Issue 2282183004: Add error information to VerifyCertificateChain(). (Closed)
Patch Set: 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_verify_certificate_chain_unittest.cc
diff --git a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
index dc7b23d064c81bc15fc6576a8997ba22839097b1..947b4cab288ab30d11641e81755e156416eaf08b 100644
--- a/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
+++ b/net/cert/internal/path_builder_verify_certificate_chain_unittest.cc
@@ -18,7 +18,8 @@ class PathBuilderDelegate {
static void Verify(const ParsedCertificateList& chain,
const scoped_refptr<TrustAnchor>& trust_anchor,
const der::GeneralizedTime& time,
- bool expected_result) {
+ bool expected_result,
+ const std::string& expected_errors) {
SimpleSignaturePolicy signature_policy(1024);
ASSERT_FALSE(chain.empty());

Powered by Google App Engine
This is Rietveld 408576698