diff options
author | Damien Miller <djm@mindrot.org> | 2019-10-08 15:32:02 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-10-08 15:32:02 +1100 |
commit | 13b3369830a43b89a503915216a23816d1b25744 (patch) | |
tree | cbe1ab294e1406f7b473a3b69ee95eb4e52b6140 | |
parent | 0c7f8d2326d812b371f7afd63aff846973ec80a4 (diff) |
avoid "return (value)" in void-declared function
spotted by Tim Rice; ok dtucker
-rw-r--r-- | openbsd-compat/sha2.c | 2 |
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); | |||
932 | void | 932 | void |
933 | SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH]) | 933 | SHA384Transform(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 | ||
938 | void | 938 | void |