From: Andrew Bartlett Date: Wed, 29 Aug 2012 07:58:45 +0000 (+1000) Subject: lib/krb4_wrap: Add const to kt_copy_one_principal X-Git-Tag: samba-4.0.0beta8~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0;p=thirdparty%2Fsamba.git lib/krb4_wrap: Add const to kt_copy_one_principal --- diff --git a/lib/krb5_wrap/keytab_util.c b/lib/krb5_wrap/keytab_util.c index 91e49900220..f9a8679290c 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 c823c734cc9..73a52a5cb57 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