diff options
Diffstat (limited to 'source4/libcli/auth/gensec_krb5.c')
-rw-r--r-- | source4/libcli/auth/gensec_krb5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/auth/gensec_krb5.c b/source4/libcli/auth/gensec_krb5.c index 72def2d79e..569fd81206 100644 --- a/source4/libcli/auth/gensec_krb5.c +++ b/source4/libcli/auth/gensec_krb5.c @@ -110,7 +110,9 @@ static NTSTATUS gensec_krb5_decode_pac(TALLOC_CTX *mem_ctx, struct PAC_SIGNATURE_DATA *kdc_sig_ptr; struct PAC_LOGON_INFO *logon_info = NULL; struct PAC_DATA pac_data; +#ifdef KRB5_DO_VERIFY_PAC DATA_BLOB tmp_blob = data_blob(NULL, 0); +#endif int i; status = ndr_pull_struct_blob(&blob, mem_ctx, &pac_data, @@ -325,7 +327,6 @@ static NTSTATUS gensec_krb5_client_start(struct gensec_security *gensec_security } } else { krb5_data in_data; - in_data.length = 0; const char *hostname = gensec_get_target_hostname(gensec_security); if (!hostname) { DEBUG(1, ("Could not determine hostname for target computer, cannot use kerberos\n")); |