Index: net/quic/test_tools/crypto_test_utils.cc |
diff --git a/net/quic/test_tools/crypto_test_utils.cc b/net/quic/test_tools/crypto_test_utils.cc |
index 3f0847b47d15a6514b28e2738e00580101cf5274..1f3da2b7463fa5de1bac403f8eb7a7bbce26a9cb 100644 |
--- a/net/quic/test_tools/crypto_test_utils.cc |
+++ b/net/quic/test_tools/crypto_test_utils.cc |
@@ -228,9 +228,12 @@ int CryptoTestUtils::HandshakeWithFakeClient( |
QuicServerId server_id(kServerHostname, kServerPort, is_https, |
PRIVACY_MODE_DISABLED); |
if (!options.dont_verify_certs) { |
- // TODO(wtc): replace this with ProofVerifierForTesting() when we have |
- // a working ProofSourceForTesting(). |
+#if defined(USE_OPENSSL) |
+ crypto_config.SetProofVerifier(ProofVerifierForTesting()); |
+#else |
+ // TODO(rch): Implement a NSS proof source. |
crypto_config.SetProofVerifier(FakeProofVerifierForTesting()); |
+#endif |
} |
TestQuicSpdyClientSession client_session(client_conn, DefaultQuicConfig(), |
server_id, &crypto_config); |