summaryrefslogtreecommitdiff
path: root/plugin/auth_gssapi
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2016-01-06 09:15:19 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2016-01-31 00:36:33 +0100
commit3d794d0ee8e0a5a7dfbd3b7de056c0a3ccb9aa81 (patch)
tree88ccf36e18fec664b26d03623dc21bd5bf3fb758 /plugin/auth_gssapi
parent7b14ba63f22e6c98c1982dae8847035ad1b8e155 (diff)
downloadmariadb-git-3d794d0ee8e0a5a7dfbd3b7de056c0a3ccb9aa81.tar.gz
MDEV9494 Fix build for Heimdal Kerberos
Diffstat (limited to 'plugin/auth_gssapi')
-rw-r--r--plugin/auth_gssapi/gssapi_server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_gssapi/gssapi_server.cc b/plugin/auth_gssapi/gssapi_server.cc
index d325b2a6a76..ed042a026b1 100644
--- a/plugin/auth_gssapi/gssapi_server.cc
+++ b/plugin/auth_gssapi/gssapi_server.cc
@@ -58,7 +58,7 @@ static char* get_default_principal_name()
}
/* Check for entry in keytab */
- if (krb5_kt_read_service_key(context, NULL, principal, 0, 0, &key))
+ if (krb5_kt_read_service_key(context, NULL, principal, 0, (krb5_enctype)0, &key))
{
sql_print_warning("GSSAPI plugin : default principal '%s' not found in keytab", unparsed_name);
goto cleanup;