From 9cadf65fa3fde72d482e7721873b7906afdbd454 Mon Sep 17 00:00:00 2001 From: flo Date: Wed, 31 Oct 2018 19:40:15 +0000 Subject: Fix build with libressl PR: 232358 Submitted by: pizzamig --- databases/percona56-server/files/patch-sql_mysqld.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'databases') diff --git a/databases/percona56-server/files/patch-sql_mysqld.cc b/databases/percona56-server/files/patch-sql_mysqld.cc index 586f267f28c6..e60a5adcbacf 100644 --- a/databases/percona56-server/files/patch-sql_mysqld.cc +++ b/databases/percona56-server/files/patch-sql_mysqld.cc @@ -17,3 +17,12 @@ static void set_proxy() { const char *p; +@@ -4685,7 +4695,7 @@ static void openssl_lock(int mode, opens + static int init_ssl() + { + #ifdef HAVE_OPENSSL +-#ifndef HAVE_YASSL ++#if !defined(HAVE_YASSL) && defined(OPENSSL_FIPS) + int fips_mode= FIPS_mode(); + if (fips_mode != 0) + { -- cgit