summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-06-28 10:23:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:04 -0500
commit407ab8474a363ba03dcdda94fdeb17266e220e13 (patch)
treef87d7ad7a7c66651007152b6836019c58d06ea7b
parente3fcc0fc2754735503fadf887c2aa3377cce13f8 (diff)
downloadsamba-407ab8474a363ba03dcdda94fdeb17266e220e13.tar.gz
samba-407ab8474a363ba03dcdda94fdeb17266e220e13.tar.bz2
samba-407ab8474a363ba03dcdda94fdeb17266e220e13.zip
r1285: Put variable definitions into a block before the statements...
Volker (This used to be commit e8786506b86f129ba6401c09b89a26bfb335440e)
-rw-r--r--source3/libads/kerberos_verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c
index f72c298399..bdac22a902 100644
--- a/source3/libads/kerberos_verify.c
+++ b/source3/libads/kerberos_verify.c
@@ -76,9 +76,9 @@ static BOOL ads_keytab_verify_ticket(krb5_context context, krb5_auth_context aut
p_packet->data = (krb5_pointer)ticket->data;
if (!(ret = krb5_rd_req(context, &auth_context, p_packet, NULL, NULL, NULL, pp_tkt))) {
+ unsigned int keytype;
krb5_free_unparsed_name(context, princ_name);
princ_name = NULL;
- unsigned int keytype;
#ifdef HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK
keytype = (unsigned int) kt_entry.keyblock.keytype;
#else