diff options
author | Günther Deschner <gd@samba.org> | 2010-08-31 11:01:23 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-31 23:17:39 +0200 |
commit | 3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9 (patch) | |
tree | 640997b929f187789ff5a2655fed710a3a1ae046 /source3/librpc | |
parent | a20e94bb0ebf4f1bd19dca527f48696a62a97ab1 (diff) | |
download | samba-3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9.tar.gz samba-3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9.tar.xz samba-3d78279fd437a5ef5b4ed7ff88c1f605cd0999d9.zip |
s3-kerberos: fix flush_keytab() compile with heimdal.
krb5_kt_cursor is not a pointer in heimdal but a struct.
Guenther
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/rpc/dcerpc_krb5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/rpc/dcerpc_krb5.c b/source3/librpc/rpc/dcerpc_krb5.c index 561259adf7..ede4f6b597 100644 --- a/source3/librpc/rpc/dcerpc_krb5.c +++ b/source3/librpc/rpc/dcerpc_krb5.c @@ -27,7 +27,7 @@ static krb5_error_code flush_keytab(krb5_context krbctx, krb5_keytab keytab) { krb5_error_code ret; - krb5_kt_cursor kt_cursor = NULL; + krb5_kt_cursor kt_cursor; krb5_keytab_entry kt_entry; ZERO_STRUCT(kt_entry); |