summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-29 17:58:45 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-29 23:46:17 +0200
commitfe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0 (patch)
treec20e3ab7f0de6d9d46d6303c4912a42e4a13c769
parent6678907fae43e0d25b578b4e649a2fbd9c5e9d71 (diff)
downloadsamba-fe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0.tar.gz
samba-fe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0.tar.bz2
samba-fe36bb4bcc35cccbc6f0a91a9ef4a29e908048a0.zip
lib/krb4_wrap: Add const to kt_copy_one_principal
-rw-r--r--lib/krb5_wrap/keytab_util.c2
-rw-r--r--lib/krb5_wrap/krb5_samba.h2
2 files changed, 2 insertions, 2 deletions
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