Skip to content

Commit 78c10cc

Browse files
committed
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.
1 parent 9c41b35 commit 78c10cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/sys_vars.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3386,8 +3386,8 @@ static Sys_var_charptr Sys_malloc_library(
33863386
#include <openssl/ssl.h>
33873387
#define SSL_LIBRARY "YaSSL " YASSL_VERSION
33883388
#elif HAVE_OPENSSL
3389-
#include <openssl/opensslv.h>
3390-
#define SSL_LIBRARY OPENSSL_VERSION_TEXT
3389+
#include <openssl/crypto.h>
3390+
#define SSL_LIBRARY SSLeay_version(SSLEAY_VERSION)
33913391
#else
33923392
#error No SSL?
33933393
#endif

0 commit comments

Comments
 (0)