git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15489 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-17 06:45:52 +00:00
parent a7e9127a62
commit 7f55eae358
4 changed files with 11 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ char_class_passwd_quality (krb5_context context,
char *message,
size_t length)
{
char *classes[] = {
const char *classes[] = {
"ABCDEFGHIJKLMNOPQRSTUVWXYZ",
"abcdefghijklmnopqrstuvwxyz",
"1234567890",
@@ -409,10 +409,10 @@ kadm5_add_passwd_quality_verifier(krb5_context context,
*
*/
static struct kadm5_pw_policy_check_func *
static const struct kadm5_pw_policy_check_func *
find_func(krb5_context context, const char *name)
{
struct kadm5_pw_policy_check_func *f;
const struct kadm5_pw_policy_check_func *f;
char *module = NULL;
const char *p, *func;
int i;
@@ -456,7 +456,7 @@ kadm5_check_password_quality (krb5_context context,
krb5_principal principal,
krb5_data *pwd_data)
{
struct kadm5_pw_policy_check_func *proc;
const struct kadm5_pw_policy_check_func *proc;
static char error_msg[1024];
const char *msg;
char **v, **vp;