diff 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
line wrap: on
line diff
--- a/UnitTestsSources/Versions.cpp	Tue Apr 08 11:48:40 2014 +0200
+++ b/UnitTestsSources/Versions.cpp	Wed Apr 09 09:31:38 2014 +0200
@@ -9,6 +9,7 @@
 #include <boost/version.hpp>
 #include <sqlite3.h>
 #include <lua.h>
+#include <openssl/opensslv.h>
 
 
 TEST(Versions, Zlib)
@@ -90,5 +91,10 @@
 {
   ASSERT_STREQ("Lua 5.1.5", LUA_RELEASE);
 }
+
+TEST(Version, OpenSslStatic)
+{
+  ASSERT_EQ(0x1000107fL /* openssl-1.0.1g */, OPENSSL_VERSION_NUMBER);
+}
+
 #endif
-