diff options
author | Andreas Schneider <asn@samba.org> | 2013-06-12 10:08:44 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-06-12 11:55:02 +0200 |
commit | ee156ef23511713a29095f4ab5d7750a36ba850c (patch) | |
tree | efbffc181f42bf9313caa3b3d353dc98b91001a0 | |
parent | 68f8f4ec4dbbdb20c4c51a6059535b5ef669373f (diff) | |
download | samba-ee156ef23511713a29095f4ab5d7750a36ba850c.tar.gz samba-ee156ef23511713a29095f4ab5d7750a36ba850c.tar.bz2 samba-ee156ef23511713a29095f4ab5d7750a36ba850c.zip |
krb5wrap: Move mask to the right position.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | lib/krb5_wrap/krb5_samba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c index 3a2401a9ad..024e1883b0 100644 --- a/lib/krb5_wrap/krb5_samba.c +++ b/lib/krb5_wrap/krb5_samba.c @@ -1484,7 +1484,6 @@ krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc, { krb5_error_code code = 0; krb5_creds my_creds; - mode_t mask; #if defined(HAVE_KRB5_GET_INIT_CREDS_KEYBLOCK) code = krb5_get_init_creds_keyblock(ctx, &my_creds, principal, @@ -1496,6 +1495,7 @@ krb5_error_code kerberos_kinit_keyblock_cc(krb5_context ctx, krb5_ccache cc, char tmp_name[sizeof(SMB_CREDS_KEYTAB)]; krb5_keytab_entry entry; krb5_keytab keytab; + mode_t mask; memset(&entry, 0, sizeof(entry)); entry.principal = principal; |