| Index: net/quic/quic_crypto_server_stream_test.cc
|
| diff --git a/net/quic/quic_crypto_server_stream_test.cc b/net/quic/quic_crypto_server_stream_test.cc
|
| index a60fcaae5a29e3d8a2302b053366e3e17122cdf7..5eb4e452a963e6b6d203131cdb69db10c64df389 100644
|
| --- a/net/quic/quic_crypto_server_stream_test.cc
|
| +++ b/net/quic/quic_crypto_server_stream_test.cc
|
| @@ -69,10 +69,14 @@ class QuicCryptoServerStreamTest : public ::testing::TestWithParam<bool> {
|
| : server_crypto_config_(QuicCryptoServerConfig::TESTING,
|
| QuicRandom::GetInstance()),
|
| server_id_(kServerHostname, kServerPort, false, PRIVACY_MODE_DISABLED) {
|
| - // TODO(wtc): replace this with ProofSourceForTesting() when Chromium has
|
| - // a working ProofSourceForTesting().
|
| +#if defined(USE_OPENSSL)
|
| + server_crypto_config_.SetProofSource(
|
| + CryptoTestUtils::ProofSourceForTesting());
|
| +#else
|
| + // TODO(rch): Implement a NSS proof source.
|
| server_crypto_config_.SetProofSource(
|
| CryptoTestUtils::FakeProofSourceForTesting());
|
| +#endif
|
| server_crypto_config_.set_strike_register_no_startup_period();
|
|
|
| InitializeServer();
|
|
|