From fe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 29 Aug 2012 17:58:45 +1000 Subject: lib/krb4_wrap: Add const to kt_copy_one_principal --- lib/krb5_wrap/keytab_util.c | 2 +- lib/krb5_wrap/krb5_samba.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/krb5_wrap') diff --git a/lib/krb5_wrap/keytab_util.c b/lib/krb5_wrap/keytab_util.c index 91e4990022..f9a8679290 100644 --- a/lib/krb5_wrap/keytab_util.c +++ b/lib/krb5_wrap/keytab_util.c @@ -162,7 +162,7 @@ krb5_error_code kt_copy_one_principal(krb5_context context, const char *to, const char *principal, krb5_kvno kvno, - krb5_enctype *enctypes) + const krb5_enctype *enctypes) { krb5_error_code ret; krb5_keytab src_keytab, dst_keytab; diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index c823c734cc..73a52a5cb5 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -281,7 +281,7 @@ krb5_error_code kt_copy_one_principal(krb5_context context, const char *to, const char *principal, krb5_kvno kvno, - krb5_enctype *enctypes); + const krb5_enctype *enctypes); #if defined(HAVE_KRB5_KT_COMPARE) #define smb_krb5_kt_compare krb5_kt_compare -- cgit