diff --git a/test/mysql_unittest.cc b/test/mysql_unittest.cc index a2d353f9..76b38f85 100644 --- a/test/mysql_unittest.cc +++ b/test/mysql_unittest.cc @@ -66,3 +66,15 @@ TEST(mysql_unittest, WFMySQLTask1) server.stop(); } +#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 +