Mercurial > hg > orthanc
comparison UnitTestsSources/Versions.cpp @ 748:de9763f63510
upgrade to openssl-1.0.1g because of heartbeat exploit
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Apr 2014 09:31:38 +0200 |
parents | 17815b9d4280 |
children | a6576b478553 |
comparison
equal
deleted
inserted
replaced
747:44382c8bcd15 | 748:de9763f63510 |
---|---|
7 #include <zlib.h> | 7 #include <zlib.h> |
8 #include <curl/curl.h> | 8 #include <curl/curl.h> |
9 #include <boost/version.hpp> | 9 #include <boost/version.hpp> |
10 #include <sqlite3.h> | 10 #include <sqlite3.h> |
11 #include <lua.h> | 11 #include <lua.h> |
12 #include <openssl/opensslv.h> | |
12 | 13 |
13 | 14 |
14 TEST(Versions, Zlib) | 15 TEST(Versions, Zlib) |
15 { | 16 { |
16 ASSERT_STREQ(zlibVersion(), ZLIB_VERSION); | 17 ASSERT_STREQ(zlibVersion(), ZLIB_VERSION); |
88 | 89 |
89 TEST(Version, LuaStatic) | 90 TEST(Version, LuaStatic) |
90 { | 91 { |
91 ASSERT_STREQ("Lua 5.1.5", LUA_RELEASE); | 92 ASSERT_STREQ("Lua 5.1.5", LUA_RELEASE); |
92 } | 93 } |
94 | |
95 TEST(Version, OpenSslStatic) | |
96 { | |
97 ASSERT_EQ(0x1000107fL /* openssl-1.0.1g */, OPENSSL_VERSION_NUMBER); | |
98 } | |
99 | |
93 #endif | 100 #endif |
94 |