From Jakub Zawadzki:

Make it compile without kerberos.

svn path=/trunk/; revision=30634
This commit is contained in:
Stig Bjørlykke 2009-10-20 10:20:14 +00:00
parent a34a6bee5e
commit d43aab714c
1 changed files with 6 additions and 2 deletions

View File

@ -6819,13 +6819,14 @@ netlogon_dissect_netrserverauthenticate3_rqst(tvbuff_t *tvb, int offset,
static guint32 get_keytab_as_list(md4_pass **p_pass_list)
{
#if HAVE_KERBEROS
enc_key_t *ek;
md4_pass* pass_list;
int i = 0;
guint32 nb_pass = 0;
if(!krb_decrypt){
pass_list=NULL;
*p_pass_list=NULL;
return 0;
}
read_keytab_file_from_preferences();
@ -6846,7 +6847,10 @@ static guint32 get_keytab_as_list(md4_pass **p_pass_list)
}
}
return nb_pass;
#else
*p_pass_list = NULL;
return 0;
#endif
}
static int