summaryrefslogtreecommitdiff
path: root/mysys_ssl/yassl.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-01-29 15:10:31 +0100
committerSergei Golubchik <serg@mariadb.org>2018-01-30 21:28:16 +0100
commitad0013c8e2b01acf2128580599aa6d54bf234b2d (patch)
tree1469d2542e5a37b55c82c1ff235e91aeca85d805 /mysys_ssl/yassl.cc
parentfb24eb87a85d646048ccd719ee1d9527332400b1 (diff)
downloadmariadb-git-ad0013c8e2b01acf2128580599aa6d54bf234b2d.tar.gz
MDEV-14343 Server crash on FIPS with openssl-1.0.2k
don't use internal undocumented OpenSSL functionality
Diffstat (limited to 'mysys_ssl/yassl.cc')
-rw-r--r--mysys_ssl/yassl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysys_ssl/yassl.cc b/mysys_ssl/yassl.cc
index 9717870fe26..e9f8e650347 100644
--- a/mysys_ssl/yassl.cc
+++ b/mysys_ssl/yassl.cc
@@ -26,6 +26,7 @@
#include "aes.hpp"
using yaSSL::yaERR_remove_state;
+using yaSSL::yaRAND_bytes;
#define EVP_CIPH_ECB_MODE 0x1
#define EVP_CIPH_CBC_MODE 0x2