summaryrefslogtreecommitdiff
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
parent0c7f8d2326d812b371f7afd63aff846973ec80a4 (diff)
avoid "return (value)" in void-declared function
spotted by Tim Rice; ok dtucker
-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 a61871d09..bd62f9573 100644
--- a/openbsd-compat/sha2.c
+++ b/openbsd-compat/sha2.c
@@ -932,7 +932,7 @@ DEF_WEAK(SHA384Pad);
932void 932void
933SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH]) 933SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH])
934{ 934{
935 return SHA512Transform(state, data); 935 SHA512Transform(state, data);
936} 936}
937 937
938void 938void