lib/krb5_wrap: use krb5_const_principal in smb_krb5_get_pw_salt().
[kai/samba-autobuild/.git] / lib / krb5_wrap / krb5_samba.c
index 471654e2b8be165f14f894ea8507ea8ffa5ce143..6d71f2223dbe0fbd50423c900768b3aa082eaea4 100644 (file)
@@ -223,7 +223,7 @@ int smb_krb5_create_key_from_string(krb5_context context,
 */
 
 int smb_krb5_get_pw_salt(krb5_context context,
-                        krb5_principal host_princ,
+                        krb5_const_principal host_princ,
                         krb5_data *psalt)
 #if defined(HAVE_KRB5_GET_PW_SALT)
 /* Heimdal */