chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more automation of test logic
[disorder]
/
lib
/
authhash.h
diff --git
a/lib/authhash.h
b/lib/authhash.h
index 99992793b6edeb612aeb18bc3d31c7e64dc96eb9..23713366bd2a88300ed8f871a25062560a1eea05 100644
(file)
--- a/
lib/authhash.h
+++ b/
lib/authhash.h
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2004, 2006 Richard Kettlewell
+ * Copyright (C) 2004, 2006
, 2007
Richard Kettlewell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-21,7
+21,8
@@
#define AUTHHASH_H
const char *authhash(const void *challenge, size_t nchallenge,
#define AUTHHASH_H
const char *authhash(const void *challenge, size_t nchallenge,
- const char *user);
+ const char *user, const char *algo);
+int valid_authhash(const char *algo);
#endif /* AUTHHASH_H */
#endif /* AUTHHASH_H */