HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
authuserdb: Try using a separate get-token script.
[hcoop/debian/courier-authlib.git]
/
authvchkpw.c
diff --git
a/authvchkpw.c
b/authvchkpw.c
index
d533ddc
..
566e977
100644
(file)
--- a/
authvchkpw.c
+++ b/
authvchkpw.c
@@
-1,5
+1,5
@@
/*
/*
-** Copyright 1998 - 200
4
Double Precision, Inc. See COPYING for
+** Copyright 1998 - 200
7
Double Precision, Inc. See COPYING for
** distribution information.
*/
** distribution information.
*/
@@
-21,7
+21,7
@@
#include <vpopmail.h>
#include <vauth.h>
#include <vpopmail.h>
#include <vauth.h>
-static const char rcsid[]="$Id: authvchkpw.c,v 1.2
6 2007/04/22 18:53:30
mrsam Exp $";
+static const char rcsid[]="$Id: authvchkpw.c,v 1.2
9 2007/10/07 02:50:45
mrsam Exp $";
extern int auth_vchkpw_pre(const char *userid, const char *service,
extern int auth_vchkpw_pre(const char *userid, const char *service,
@@
-30,6
+30,9
@@
extern int auth_vchkpw_pre(const char *userid, const char *service,
extern FILE *authvchkpw_file(const char *, const char *);
extern FILE *authvchkpw_file(const char *, const char *);
+static int auth_vchkpw_login(const char *service, char *authdata,
+ int (*callback_func)(struct authinfo *, void *), void *callback_arg);
+
struct callback_info {
const char *pass;
int (*callback_func)(struct authinfo *, void *);
struct callback_info {
const char *pass;
int (*callback_func)(struct authinfo *, void *);
@@
-60,6
+63,8
@@
struct callback_info *i=(struct callback_info *)p;
#include "libhmac/hmac.h"
#include "cramlib.h"
#include "libhmac/hmac.h"
#include "cramlib.h"
+static int auth_vchkpw_login(const char *service, char *authdata,
+ int (*callback_func)(struct authinfo *, void *), void *callback_arg);
static int auth_vchkpw_cram(const char *service,
const char *authtype, char *authdata,
static int auth_vchkpw_cram(const char *service,
const char *authtype, char *authdata,