1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3-kerberos: use krb5 compat macros in fill_keytab_from_password()

This one uses the compat macro in the right way, without actually
breaking the code.

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Simo Sorce 2010-09-02 16:09:19 -04:00 committed by Günther Deschner
parent d9c63fbe92
commit 804aaad526

View File

@ -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) {