changed prototype of (*hash)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@902 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -56,7 +56,7 @@ typedef struct {
|
|||||||
OtpAlgID id;
|
OtpAlgID id;
|
||||||
char *name;
|
char *name;
|
||||||
int hashsize;
|
int hashsize;
|
||||||
int (*hash)(char *s, size_t len, char *res);
|
int (*hash)(char *s, size_t len, unsigned char *res);
|
||||||
int (*init)(OtpKey key, char *pwd, char *seed);
|
int (*init)(OtpKey key, char *pwd, char *seed);
|
||||||
int (*next)(OtpKey key);
|
int (*next)(OtpKey key);
|
||||||
} OtpAlgorithm;
|
} OtpAlgorithm;
|
||||||
|
Reference in New Issue
Block a user