Commit 78c10cca authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-7913 main.openssl_6975 'tlsv10' fails in buildbot on Wheezy and Precise

version_ssl_library should show the version
of openssl library that is being used, not the one
that server was compiled with.
parent 9c41b35b
...@@ -3386,8 +3386,8 @@ static Sys_var_charptr Sys_malloc_library( ...@@ -3386,8 +3386,8 @@ static Sys_var_charptr Sys_malloc_library(
#include <openssl/ssl.h> #include <openssl/ssl.h>
#define SSL_LIBRARY "YaSSL " YASSL_VERSION #define SSL_LIBRARY "YaSSL " YASSL_VERSION
#elif HAVE_OPENSSL #elif HAVE_OPENSSL
#include <openssl/opensslv.h> #include <openssl/crypto.h>
#define SSL_LIBRARY OPENSSL_VERSION_TEXT #define SSL_LIBRARY SSLeay_version(SSLEAY_VERSION)
#else #else
#error No SSL? #error No SSL?
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment