1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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>
This commit is contained in:
Joseph Sutton 2022-05-09 13:55:07 +12:00 committed by Andreas Schneider
parent 9bd4c8bd56
commit 0dad0e3fcd
2 changed files with 4 additions and 4 deletions

View File

@ -291,8 +291,8 @@ krb5_error_code smb_krb5_mk_error(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)
{

View File

@ -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);