X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..349b7b74df53fe1631a269f4cd4e87951cfe9397:/lib/authhash.h diff --git a/lib/authhash.h b/lib/authhash.h index 9999279..2371336 100644 --- a/lib/authhash.h +++ b/lib/authhash.h @@ -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 */