Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: webrtc/base/sslstreamadapter.cc

Issue 2526433002: Only use BoringSSL time callback in unit tests. (Closed)
Patch Set: Merging with master. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/sslstreamadapter.h ('k') | webrtc/base/unittest_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/sslstreamadapter.cc
diff --git a/webrtc/base/sslstreamadapter.cc b/webrtc/base/sslstreamadapter.cc
index 17e758e8116dfa706a514fa9b80bc125b586d12d..c3ef3bc3aefa5e39ab4792f7d3f767a972cb8dcb 100644
--- a/webrtc/base/sslstreamadapter.cc
+++ b/webrtc/base/sslstreamadapter.cc
@@ -160,6 +160,9 @@ bool SSLStreamAdapter::IsAcceptableCipher(const std::string& cipher,
std::string SSLStreamAdapter::SslCipherSuiteToName(int cipher_suite) {
return OpenSSLStreamAdapter::SslCipherSuiteToName(cipher_suite);
}
+void SSLStreamAdapter::enable_time_callback_for_testing() {
+ OpenSSLStreamAdapter::enable_time_callback_for_testing();
+}
#endif // SSL_USE_OPENSSL
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/sslstreamadapter.h ('k') | webrtc/base/unittest_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698