aboutsummaryrefslogtreecommitdiffstats
path: root/digest.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2019-02-10 13:48:27 +0100
committerMattias Andrée <maandree@kth.se>2019-02-10 13:48:27 +0100
commit7f5da97d1078fbeee7ef6125802ab2c7092079e0 (patch)
treeb29926c0c1c07ad3cfd543fa3a4eedf5a60b385a /digest.c
parentAdd test cases (diff)
downloadlibsha2-7f5da97d1078fbeee7ef6125802ab2c7092079e0.tar.gz
libsha2-7f5da97d1078fbeee7ef6125802ab2c7092079e0.tar.bz2
libsha2-7f5da97d1078fbeee7ef6125802ab2c7092079e0.tar.xz
Minor fixes and tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'digest.c')
-rw-r--r--digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digest.c b/digest.c
index 492f6e2..5dc1600 100644
--- a/digest.c
+++ b/digest.c
@@ -11,7 +11,7 @@
* @param output The output buffer for the hash
*/
void
-libsha2_digest(struct libsha2_state *restrict state, const char *restrict message, size_t msglen, char *output)
+libsha2_digest(struct libsha2_state *restrict state, const char *message, size_t msglen, char *output)
{
size_t off, i, n;