summaryrefslogtreecommitdiffstats
path: root/net/quic/test_tools
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/test_tools')
-rw-r--r--net/quic/test_tools/crypto_test_utils.h2
-rw-r--r--net/quic/test_tools/crypto_test_utils_chromium.cc10
2 files changed, 6 insertions, 6 deletions
diff --git a/net/quic/test_tools/crypto_test_utils.h b/net/quic/test_tools/crypto_test_utils.h
index 4a38b0e..1d26dc7 100644
--- a/net/quic/test_tools/crypto_test_utils.h
+++ b/net/quic/test_tools/crypto_test_utils.h
@@ -98,7 +98,7 @@ class CryptoTestUtils {
static ProofVerifier* ProofVerifierForTesting();
// Returns a |ProofVerifyContext| that must be used with the verifier
- // returned by ||ProofVerifierForTesting.
+ // returned by |ProofVerifierForTesting|.
static ProofVerifyContext* ProofVerifyContextForTesting();
// MockCommonCertSets returns a CommonCertSets that contains a single set with
diff --git a/net/quic/test_tools/crypto_test_utils_chromium.cc b/net/quic/test_tools/crypto_test_utils_chromium.cc
index 12dadb1..eb4fec0 100644
--- a/net/quic/test_tools/crypto_test_utils_chromium.cc
+++ b/net/quic/test_tools/crypto_test_utils_chromium.cc
@@ -42,17 +42,17 @@ ProofSource* CryptoTestUtils::ProofSourceForTesting() {
}
// static
-ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() {
- return new ProofVerifyContextChromium(BoundNetLog());
-}
-
-// static
ProofVerifier* CryptoTestUtils::ProofVerifierForTesting() {
TestProofVerifierChromium* proof_verifier = new TestProofVerifierChromium(
CertVerifier::CreateDefault(), "quic_root.crt");
return proof_verifier;
}
+// static
+ProofVerifyContext* CryptoTestUtils::ProofVerifyContextForTesting() {
+ return new ProofVerifyContextChromium(BoundNetLog());
+}
+
} // namespace test
} // namespace net