lib/krb4_wrap: Add const to kt_copy_one_principal
authorAndrew Bartlett <abartlet@samba.org>
Wed, 29 Aug 2012 07:58:45 +0000 (17:58 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Aug 2012 21:46:17 +0000 (23:46 +0200)
lib/krb5_wrap/keytab_util.c
lib/krb5_wrap/krb5_samba.h

index 91e499002200d254bdc45c87864b28f56d298bdf..f9a8679290cf221d6ebde2a1a651df7ad73fb460 100644 (file)
@@ -162,7 +162,7 @@ krb5_error_code kt_copy_one_principal(krb5_context context,
                                      const char *to,
                                      const char *principal,
                                      krb5_kvno kvno,
                                      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;
 {
     krb5_error_code ret;
     krb5_keytab src_keytab, dst_keytab;
index c823c734cc9959890931f25a75f2c523d46288cb..73a52a5cb5748af85aecac118c3a1f49c68495a1 100644 (file)
@@ -281,7 +281,7 @@ krb5_error_code kt_copy_one_principal(krb5_context context,
                                      const char *to,
                                      const char *principal,
                                      krb5_kvno kvno,
                                      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
 
 #if defined(HAVE_KRB5_KT_COMPARE)
 #define smb_krb5_kt_compare krb5_kt_compare