Index: net/quic/test_tools/crypto_test_utils_openssl.cc |
diff --git a/net/quic/test_tools/crypto_test_utils_openssl.cc b/net/quic/test_tools/crypto_test_utils_openssl.cc |
index 24d0bc7531746d59d87302e6cb2ed25a6efac947..b2f5808fcb27b4978b14c80d3231254aee71c0a0 100644 |
--- a/net/quic/test_tools/crypto_test_utils_openssl.cc |
+++ b/net/quic/test_tools/crypto_test_utils_openssl.cc |
@@ -13,7 +13,9 @@ |
#include "crypto/openssl_util.h" |
#include "crypto/secure_hash.h" |
+#include "net/base/test_data_directory.h" |
#include "net/quic/crypto/channel_id.h" |
+#include "net/quic/crypto/proof_verifier_openssl.h" |
using base::StringPiece; |
using std::string; |
@@ -173,6 +175,12 @@ string CryptoTestUtils::ChannelIDKeyForHostname(const string& hostname) { |
return TestChannelIDSigner::KeyForHostname(hostname); |
} |
+// static |
+ProofVerifier* CryptoTestUtils::ProofVerifierForTesting() { |
+ base::FilePath certs_dir = GetTestCertsDirectory(); |
+ return new ProofVerifierOpenSSL(certs_dir.value() + "/proof_verify.crt"); |
+} |
+ |
} // namespace test |
} // namespace net |