MDEV-9314 fatal build error: viosslfactories.c:58:5: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}

fixes for openssl that was built with -DOPENSSL_NO_DEPRECATED
This commit is contained in:
Sergei Golubchik 2016-02-05 14:04:24 +01:00
commit a90da6e053
2 changed files with 4 additions and 8 deletions

View file

@ -17,6 +17,10 @@
#include "vio_priv.h"
#ifdef HAVE_OPENSSL
#ifndef HAVE_YASSL
#include <openssl/dh.h>
#include <openssl/bn.h>
#endif
static my_bool ssl_algorithms_added = FALSE;
static my_bool ssl_error_strings_loaded= FALSE;