1
0
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:
Matthias Dieter Wallnöfer 2010-08-26 22:30:04 +02:00
parent e8cfc2f1de
commit e4afcd62bc

View File

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