diff --git a/test/facilities_unittest.cc b/test/facilities_unittest.cc index 2a4243fb..31711188 100644 --- a/test/facilities_unittest.cc +++ b/test/facilities_unittest.cc @@ -114,3 +114,14 @@ TEST(facilities_unittest, WaitGroup) wg3.wait(); } +#if OPENSSL_VERSION_NUMBER >= 0x10100000L + +#include +int main(int argc, char* argv[]) +{ + OPENSSL_init_ssl(0, 0); + ::testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} + +#endif