krb5: Constify principal arg to some functions

This commit is contained in:
Nicolas Williams
2020-08-25 15:59:53 -05:00
parent 983ed75295
commit fbb3bd3f8b

View File

@@ -195,7 +195,7 @@ KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_string_to_key_data (krb5_context context,
krb5_enctype enctype,
krb5_data password,
krb5_principal principal,
krb5_const_principal principal,
krb5_keyblock *key)
{
krb5_error_code ret;
@@ -213,7 +213,7 @@ KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL
krb5_string_to_key (krb5_context context,
krb5_enctype enctype,
const char *password,
krb5_principal principal,
krb5_const_principal principal,
krb5_keyblock *key)
{
krb5_data pw;