MDEV9494 Fix build for Heimdal Kerberos

This commit is contained in:
Vladislav Vaintroub 2016-01-06 09:15:19 +01:00
parent 7b14ba63f2
commit 3d794d0ee8

View File

@ -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;