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

Unified Diff: net/quic/crypto/proof_test.cc

Issue 1873883002: relnote: Update QUIC code to match Chromium change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@03_CL_118999202
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/proof_test.cc
diff --git a/net/quic/crypto/proof_test.cc b/net/quic/crypto/proof_test.cc
index cdca324ebb9674774c7bb8d9931563948cfd5f3b..8042b2b055a0b5cefb1ce33133f59bafc852938c 100644
--- a/net/quic/crypto/proof_test.cc
+++ b/net/quic/crypto/proof_test.cc
@@ -394,16 +394,12 @@ TEST_P(ProofTest, VerifyECDSAKnownAnswerTest) {
sizeof(signature_data_2));
for (size_t i = 0; i < signatures.size(); i++) {
- LOG(ERROR) << "====================" << i << "======================";
const string& signature = signatures[i];
- LOG(ERROR) << "=================== expect ok =====================";
RunVerification(verifier.get(), hostname, port, server_config, quic_version,
chlo_hash, certs, signature, true);
- LOG(ERROR) << "=================== hose_name = foo.com =============";
RunVerification(verifier.get(), "foo.com", port, server_config,
quic_version, chlo_hash, certs, signature, false);
- LOG(ERROR) << "================== server_config ====================";
RunVerification(verifier.get(), hostname, port,
server_config.substr(1, string::npos), quic_version,
chlo_hash, certs, signature, false);
@@ -412,13 +408,11 @@ TEST_P(ProofTest, VerifyECDSAKnownAnswerTest) {
// signature can still be DER-decoded correctly.
string corrupt_signature = signature;
corrupt_signature[corrupt_signature.size() - 1] += 1;
- LOG(ERROR) << "================= corrupt signature =======================";
RunVerification(verifier.get(), hostname, port, server_config, quic_version,
chlo_hash, certs, corrupt_signature, false);
// Prepending a "1" makes the DER invalid.
const string bad_der_signature1 = "1" + signature;
- LOG(ERROR) << "=========================bad der signature ===============";
RunVerification(verifier.get(), hostname, port, server_config, quic_version,
chlo_hash, certs, bad_der_signature1, false);
@@ -426,7 +420,6 @@ TEST_P(ProofTest, VerifyECDSAKnownAnswerTest) {
for (size_t i = 1; i < certs.size(); i++) {
wrong_certs.push_back(certs[i]);
}
- LOG(ERROR) << "==================== wrong certs =========================";
RunVerification(verifier.get(), hostname, port, server_config, quic_version,
chlo_hash, wrong_certs, signature, false);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698