a1f0f704b5
databases/mariadb103-server: Security update to 10.3.20 PR: 241877 Submitted by: fox Security: fc91f2ef-fd7b-11e9-a1c7-b499baebfeaf Approved by: ports-secteam (joneum)
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
--- libmariadb/plugins/auth/CMakeLists.txt.orig 2019-11-11 05:31:43 UTC
|
|
+++ libmariadb/plugins/auth/CMakeLists.txt
|
|
@@ -75,6 +75,7 @@ IF(CRYPTO_PLUGIN)
|
|
${CRYPT_SOURCE}
|
|
LIBRARIES ${CRYPT_LIBS})
|
|
|
|
+ IF(NOT WITHOUT_CLIENT)
|
|
IF(WITH_SSL STREQUAL "GNUTLS" AND NOT WIN32)
|
|
MESSAGE1(STATUS "sha256_password not supported by GnuTLS due to missing OAEP padding")
|
|
ELSE()
|
|
@@ -85,6 +86,7 @@ IF(CRYPTO_PLUGIN)
|
|
SOURCES ${AUTH_DIR}/sha256_pw.c
|
|
LIBRARIES ${CRYPT_LIBS})
|
|
ENDIF()
|
|
+ ENDIF()
|
|
ENDIF()
|
|
|
|
#GSSAPI client authentication plugin
|
|
@@ -119,9 +121,11 @@ REGISTER_PLUGIN(TARGET mysql_old_password
|
|
DEFAULT STATIC
|
|
SOURCES ${AUTH_DIR}/old_password.c)
|
|
|
|
+IF(NOT WITHOUT_CLIENT)
|
|
# Cleartext
|
|
REGISTER_PLUGIN(TARGET mysql_clear_password
|
|
TYPE MARIADB_CLIENT_PLUGIN_AUTH
|
|
CONFIGURATIONS DYNAMIC STATIC OFF
|
|
DEFAULT DYNAMIC
|
|
SOURCES ${AUTH_DIR}/mariadb_cleartext.c)
|
|
+ENDIF()
|