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

Unified Diff: crypto/signature_verifier_unittest.cc

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years 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: crypto/signature_verifier_unittest.cc
diff --git a/crypto/signature_verifier_unittest.cc b/crypto/signature_verifier_unittest.cc
index 2cda4596a10b78e0a8a70939c3d0316b7d2a67eb..685276d0516ffa746216311f77dba974cb1f780c 100644
--- a/crypto/signature_verifier_unittest.cc
+++ b/crypto/signature_verifier_unittest.cc
@@ -992,7 +992,8 @@ static void PrependASN1Length(std::vector<uint8_t>* out, size_t len) {
out->insert(out->begin(), static_cast<uint8_t>(len >> 8));
out->insert(out->begin(), 0x82);
} else {
- CHECK(false) << "ASN.1 length not handled: " << len;
+ // ASN.1 length not handled.
+ CHECK(false);
}
}

Powered by Google App Engine
This is Rietveld 408576698