chiark / gitweb /
missing initialization
[disorder] / lib / authhash.h
index 99992793b6edeb612aeb18bc3d31c7e64dc96eb9..23713366bd2a88300ed8f871a25062560a1eea05 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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
@@ -21,7 +21,8 @@
 #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 */