diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-02-05 14:04:24 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-02-06 11:45:23 +0100 |
commit | a90da6e0537b3bd5b3aa19ba8dfca340e66c0cd6 (patch) | |
tree | 54015a8521b0af63666f278d1fbd20ea6dc41c70 /vio | |
parent | db5f743c31135d9dce29cc578837081e8b7b04da (diff) | |
download | mariadb-git-a90da6e0537b3bd5b3aa19ba8dfca340e66c0cd6.tar.gz |
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
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viosslfactories.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c index c889b90a2e2..11d01ea534d 100644 --- a/vio/viosslfactories.c +++ b/vio/viosslfactories.c @@ -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; |