summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap/krb5_samba.h
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-05-09 13:55:07 +1200
committerAndreas Schneider <asn@cryptomilk.org>2022-06-14 07:21:29 +0000
commit0dad0e3fcdbadddbe29351de0b72e633e12bd856 (patch)
tree68bf0f2f188035cee4f0389d7a65d14e32525c26 /lib/krb5_wrap/krb5_samba.h
parent9bd4c8bd560aec84cdb26c4b7fdddcac9ef530b8 (diff)
downloadsamba-0dad0e3fcdbadddbe29351de0b72e633e12bd856.tar.gz
lib:krb5_wrap: Add const to parameters for smb_krb5_create_key_from_string()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/krb5_wrap/krb5_samba.h')
-rw-r--r--lib/krb5_wrap/krb5_samba.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h
index 653cd561406..942f787d12a 100644
--- a/lib/krb5_wrap/krb5_samba.h
+++ b/lib/krb5_wrap/krb5_samba.h
@@ -361,8 +361,8 @@ int smb_krb5_salt_principal2data(krb5_context context,
int smb_krb5_create_key_from_string(krb5_context context,
krb5_const_principal host_princ,
- krb5_data *salt,
- krb5_data *password,
+ const krb5_data *salt,
+ const krb5_data *password,
krb5_enctype enctype,
krb5_keyblock *key);