From 78c10ccad8b913f91831c3cd8cb62e5930943556 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 1 Jun 2015 17:31:39 +0200 Subject: 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. --- sql/sys_vars.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sql/sys_vars.cc') diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc index aecca64842f..2ad417872bf 100644 --- a/sql/sys_vars.cc +++ b/sql/sys_vars.cc @@ -3386,8 +3386,8 @@ static Sys_var_charptr Sys_malloc_library( #include #define SSL_LIBRARY "YaSSL " YASSL_VERSION #elif HAVE_OPENSSL -#include -#define SSL_LIBRARY OPENSSL_VERSION_TEXT +#include +#define SSL_LIBRARY SSLeay_version(SSLEAY_VERSION) #else #error No SSL? #endif -- cgit v1.2.1