aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.c3
1 files changed, 2 insertions, 1 deletions
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;