summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-10-08 15:32:02 +1100
committerDamien Miller <djm@mindrot.org>2019-10-08 15:32:02 +1100
commit13b3369830a43b89a503915216a23816d1b25744 (patch)
treecbe1ab294e1406f7b473a3b69ee95eb4e52b6140 /openbsd-compat
parent0c7f8d2326d812b371f7afd63aff846973ec80a4 (diff)
avoid "return (value)" in void-declared function
spotted by Tim Rice; ok dtucker
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/sha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/sha2.c b/openbsd-compat/sha2.c
index a61871d0..bd62f957 100644
--- a/openbsd-compat/sha2.c
+++ b/openbsd-compat/sha2.c
@@ -932,7 +932,7 @@ DEF_WEAK(SHA384Pad);
void
SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
{
- return SHA512Transform(state, data);
+ SHA512Transform(state, data);
}
void