Skip to content

Commit db11db3

Browse files
harinvadodariabjornmu
authored andcommitted
Bug#35755328: The warning of deprecated function in openssl3 not be supressed
Description: - Contribution: Supress OpenSSL3 warnings Change-Id: If4cc005456ed46ff4fd692ee75ca2a547d39c4d6 (cherry picked from commit 4d6878783e23c5577756d989e325d58478c88646)
1 parent 716fe86 commit db11db3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/ssl.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,12 @@ MACRO (MYSQL_CHECK_SSL)
348348
ENDIF()
349349
ENDMACRO()
350350

351-
# Downgrade OpenSSL 3 deprecation warnings.
351+
# Silence OpenSSL 3 deprecation warnings.
352352
MACRO(DOWNGRADE_OPENSSL3_DEPRECATION_WARNINGS)
353353
IF(OPENSSL_MAJOR_VERSION VERSION_EQUAL 3)
354354
IF(MY_COMPILER_IS_GNU_OR_CLANG)
355355
ADD_COMPILE_FLAGS(${ARGV}
356-
COMPILE_FLAGS "-Wno-error=deprecated-declarations")
356+
COMPILE_FLAGS "-Wno-deprecated-declarations")
357357
ELSEIF(WIN32)
358358
ADD_COMPILE_FLAGS(${ARGV}
359359
COMPILE_FLAGS "/wd4996")

0 commit comments

Comments
 (0)