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

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

Issue 2349103002: Include the RSA key modulus size in error message when it is too small. (Closed)
Patch Set: address mattm's comment Created 4 years, 3 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/verify_certificate_chain.cc
diff --git a/net/cert/internal/verify_certificate_chain.cc b/net/cert/internal/verify_certificate_chain.cc
index 8c9376bdf2de239f8dabab1edb94917b410edbc0..5523898b322159c47a80fb04dd8151f24b148e9e 100644
--- a/net/cert/internal/verify_certificate_chain.cc
+++ b/net/cert/internal/verify_certificate_chain.cc
@@ -69,7 +69,7 @@ class CertErrorScoperForCert : public CertErrorScoper {
std::unique_ptr<CertErrorNode> BuildRootNode() override {
return base::MakeUnique<CertErrorNode>(
CertErrorNodeType::TYPE_CONTEXT, kContextCertificate,
- CreateCertErrorParamsSizeT("index", index_));
+ CreateCertErrorParams1SizeT("index", index_));
}
private:

Powered by Google App Engine
This is Rietveld 408576698