hide find_chpw_proto under HEIMDAL_SMALLER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23980 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -501,17 +501,6 @@ static struct kpwd_proc {
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
static struct kpwd_proc *
|
||||
find_chpw_proto(const char *name)
|
||||
{
|
||||
struct kpwd_proc *p;
|
||||
for (p = procs; p->name != NULL; p++) {
|
||||
if (strcmp(p->name, name) == 0)
|
||||
return p;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
@@ -671,6 +660,17 @@ change_password_loop (krb5_context context,
|
||||
|
||||
#ifndef HEIMDAL_SMALLER
|
||||
|
||||
static struct kpwd_proc *
|
||||
find_chpw_proto(const char *name)
|
||||
{
|
||||
struct kpwd_proc *p;
|
||||
for (p = procs; p->name != NULL; p++) {
|
||||
if (strcmp(p->name, name) == 0)
|
||||
return p;
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
* krb5_change_password() is deprecated, use krb5_set_password().
|
||||
*
|
||||
|
Reference in New Issue
Block a user