X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/460b9539a7c15580e41a71bbc0f47ae776238915..5b3f0631ed2aff1d83499e5daa148dafc345f741:/lib/authhash.h diff --git a/lib/authhash.h b/lib/authhash.h index 4ef57ae..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 */ @@ -32,4 +33,3 @@ comment-column:40 fill-column:79 End: */ -/* arch-tag:225ea2aea8c434a7a92fae4018e54c60 */