mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@@ -22,9 +22,9 @@ ELSE()
|
||||
SET(CMAKE_REQUIRED_LIBRARIES ${GSSAPI_LIBS})
|
||||
SET(CMAKE_REQUIRED_FLAGS "-Werror -Wall")
|
||||
INCLUDE(CheckCXXSymbolExists)
|
||||
CHECK_CXX_SYMBOL_EXISTS(krb5_free_unparsed_name "krb5.h" HAVE_KRB5_FREE_UNPARSED_NAME)
|
||||
IF(HAVE_KRB5_FREE_UNPARSED_NAME)
|
||||
ADD_DEFINITIONS(-DHAVE_KRB5_FREE_UNPARSED_NAME=1)
|
||||
CHECK_CXX_SYMBOL_EXISTS(krb5_xfree "krb5.h" HAVE_KRB5_XFREE)
|
||||
IF(HAVE_KRB5_XFREE)
|
||||
ADD_DEFINITIONS(-DHAVE_KRB5_XFREE=1)
|
||||
ENDIF()
|
||||
|
||||
ELSE()
|
||||
|
@@ -30,7 +30,7 @@ static void log_error( OM_uint32 major, OM_uint32 minor, const char *msg)
|
||||
Generate default principal service name formatted as principal name "mariadb/server.fqdn@REALM"
|
||||
*/
|
||||
#include <krb5.h>
|
||||
#ifndef HAVE_KRB5_FREE_UNPARSED_NAME
|
||||
#ifdef HAVE_KRB5_XFREE
|
||||
#define krb5_free_unparsed_name(a,b) krb5_xfree(b)
|
||||
#endif
|
||||
static char* get_default_principal_name()
|
||||
|
Reference in New Issue
Block a user