Commit 3d794d0e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV9494 Fix build for Heimdal Kerberos

parent 7b14ba63
...@@ -58,7 +58,7 @@ static char* get_default_principal_name() ...@@ -58,7 +58,7 @@ static char* get_default_principal_name()
} }
/* Check for entry in keytab */ /* 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); sql_print_warning("GSSAPI plugin : default principal '%s' not found in keytab", unparsed_name);
goto cleanup; goto cleanup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment