chiark / gitweb /
support alternative hashes for authentication
[disorder] / lib / authhash.h
index 99992793b6edeb612aeb18bc3d31c7e64dc96eb9..38981e10b4f700c8f53f0fea10aa122c80473f0b 100644 (file)
@@ -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 */