mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4:credentials_krb5.c - quiet a Solaris warning
This commit is contained in:
parent
e8cfc2f1de
commit
e4afcd62bc
@ -479,7 +479,8 @@ _PUBLIC_ int cli_credentials_get_client_gss_creds(struct cli_credentials *cred,
|
|||||||
for (num_ktypes = 0; etypes[num_ktypes]; num_ktypes++);
|
for (num_ktypes = 0; etypes[num_ktypes]; num_ktypes++);
|
||||||
|
|
||||||
maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, gcc->creds,
|
maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, gcc->creds,
|
||||||
num_ktypes, etypes);
|
num_ktypes,
|
||||||
|
(int32_t *) etypes);
|
||||||
krb5_xfree (etypes);
|
krb5_xfree (etypes);
|
||||||
if (maj_stat) {
|
if (maj_stat) {
|
||||||
talloc_free(gcc);
|
talloc_free(gcc);
|
||||||
|
Loading…
Reference in New Issue
Block a user