| Index: net/quic/test_tools/crypto_test_utils_chromium.cc
|
| diff --git a/net/quic/test_tools/crypto_test_utils_chromium.cc b/net/quic/test_tools/crypto_test_utils_chromium.cc
|
| index 366dd5e2dd01725f436b9931189dd7230c60b9ab..41e5dc77bde59b680bed3e20f6fa3365c218fba7 100644
|
| --- a/net/quic/test_tools/crypto_test_utils_chromium.cc
|
| +++ b/net/quic/test_tools/crypto_test_utils_chromium.cc
|
| @@ -113,12 +113,19 @@ class FakeProofVerifier : public ProofVerifier {
|
|
|
| // static
|
| ProofSource* CryptoTestUtils::ProofSourceForTesting() {
|
| +// TODO(wtc): delete USE_OPENSSL when Chromium has a working
|
| +// ProofSourceForTesting() for NSS.
|
| +// TODO(rch): Implement a NSS proof source.
|
| +#if defined(USE_OPENSSL)
|
| ProofSourceChromium* source = new ProofSourceChromium();
|
| base::FilePath certs_dir = GetTestCertsDirectory();
|
| CHECK(source->Initialize(
|
| certs_dir.AppendASCII("quic_chain.crt"),
|
| certs_dir.AppendASCII("quic_test.example.com.key.pkcs8")));
|
| return source;
|
| +#else
|
| + return FakeProofSourceForTesting();
|
| +#endif
|
| }
|
|
|
| // static
|
|
|