/* Copyright (c) 2004-2018 Dovecot authors, see the included COPYING file */
#include "auth-common.h"
#include "passdb.h"
#ifdef PASSDB_CHECKPASSWORD
#include "password-scheme.h"
#include "db-checkpassword.h"
struct checkpassword_passdb_module {
};
static void
const char *const *extra_fields,
{
unsigned int i;
switch (status) {
return;
return;
break;
}
for (i = 0; extra_fields[i] != NULL; i++) {
else if (extra_fields[i][0] != '\0') {
extra_fields[i], NULL);
}
}
if (crypted_pass != NULL) {
/* for cache */
} else {
"password field returned without {scheme} prefix");
}
}
}
static void
{
(struct checkpassword_passdb_module *)_module;
}
static void
const char *const *extra_fields,
{
unsigned int i;
switch (status) {
return;
return;
break;
}
for (i = 0; extra_fields[i] != NULL; i++) {
else if (extra_fields[i][0] != '\0') {
extra_fields[i], NULL);
}
}
}
static void
{
(struct checkpassword_passdb_module *)_module;
}
static struct passdb_module *
{
const char *checkpassword_reply_path =
PKG_LIBEXECDIR"/checkpassword-reply";
}
{
(struct checkpassword_passdb_module *)_module;
}
"checkpassword",
NULL,
};
#else
.name = "checkpassword"
};
#endif