From 804aaad526419e2be9101190bbccf95152f1d4b4 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 2 Sep 2010 16:09:19 -0400 Subject: s3-kerberos: use krb5 compat macros in fill_keytab_from_password() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This one uses the compat macro in the right way, without actually breaking the code. Signed-off-by: Günther Deschner --- source3/librpc/rpc/dcerpc_krb5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/librpc') diff --git a/source3/librpc/rpc/dcerpc_krb5.c b/source3/librpc/rpc/dcerpc_krb5.c index 9e709d8334..22443b63ff 100644 --- a/source3/librpc/rpc/dcerpc_krb5.c +++ b/source3/librpc/rpc/dcerpc_krb5.c @@ -145,7 +145,7 @@ static krb5_error_code fill_keytab_from_password(krb5_context krbctx, kt_entry.principal = princ; kt_entry.vno = vno; - kt_entry.key = *key; + *(KRB5_KT_KEY(&kt_entry)) = *key; ret = krb5_kt_add_entry(krbctx, keytab, &kt_entry); if (ret) { -- cgit