Index: webrtc/base/unittest_main.cc |
diff --git a/webrtc/base/unittest_main.cc b/webrtc/base/unittest_main.cc |
index 66a9a73309f1c942d24ab302be3f22bedeb4d6bd..3de0528847791eeefe499e3dee04743b23f352f1 100644 |
--- a/webrtc/base/unittest_main.cc |
+++ b/webrtc/base/unittest_main.cc |
@@ -19,6 +19,7 @@ |
#include "webrtc/base/gunit.h" |
#include "webrtc/base/logging.h" |
#include "webrtc/base/ssladapter.h" |
+#include "webrtc/base/sslstreamadapter.h" |
#include "webrtc/test/field_trial.h" |
#include "webrtc/test/testsupport/fileutils.h" |
@@ -103,6 +104,7 @@ int main(int argc, char** argv) { |
// Initialize SSL which are used by several tests. |
rtc::InitializeSSL(); |
+ rtc::SSLStreamAdapter::enable_time_callback_for_testing(); |
int res = RUN_ALL_TESTS(); |