From cce6503f842a109ce28937e0feb5767647856aa2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 28 Jul 2019 09:16:02 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.c b/init.c index 556f6a8..7d63b1b 100644 --- a/init.c +++ b/init.c @@ -28,7 +28,8 @@ libsha1_init(struct libsha1_state *restrict state, enum libsha1_algorithm algori switch (algorithm) { case LIBSHA1_0: case LIBSHA1_1: - memcpy(state->h, H, sizeof(H)); break; + memcpy(state->h, H, sizeof(H)); + break; default: errno = EINVAL; return -1; -- cgit v1.2.3-70-g09d2