summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-30 11:23:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:59 -0500
commitce5882e82fa688532c3e0453c48d2b629538b0ed (patch)
tree1f5ec0211b6898910b2a549d88f59de0107b18d5
parent44f2d34bd3551ec2a921e450c31a887559cf8809 (diff)
downloadsamba-ce5882e82fa688532c3e0453c48d2b629538b0ed.tar.gz
samba-ce5882e82fa688532c3e0453c48d2b629538b0ed.tar.bz2
samba-ce5882e82fa688532c3e0453c48d2b629538b0ed.zip
r8016: Get the keyblock arguments correct. (the context struct changed, but
I forgot to update the users) Andrew Bartlett (This used to be commit 44b86b7e6570e31ab07ce12593fb8834325c52c8)
-rw-r--r--source4/auth/gensec/gensec_krb5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index bd705531bd..69dae1c8d9 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -62,7 +62,7 @@ static int gensec_krb5_destory(void *ptr)
/* ccache freed in a child destructor */
krb5_free_keyblock(gensec_krb5_state->smb_krb5_context->krb5_context,
- &gensec_krb5_state->keyblock);
+ gensec_krb5_state->keyblock);
if (gensec_krb5_state->auth_context) {
krb5_auth_con_free(gensec_krb5_state->smb_krb5_context->krb5_context,
@@ -444,7 +444,7 @@ static NTSTATUS gensec_krb5_session_info(struct gensec_security *gensec_security
/* decode and verify the pac */
nt_status = kerberos_decode_pac(gensec_krb5_state, &logon_info, gensec_krb5_state->pac,
- gensec_krb5_state->smb_krb5_context, &(gensec_krb5_state->keyblock));
+ gensec_krb5_state->smb_krb5_context, (gensec_krb5_state->keyblock));
/* IF we have the PAC - otherwise we need to get this
* data from elsewere - local ldb, or (TODO) lookup of some