From 13b3369830a43b89a503915216a23816d1b25744 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Tue, 8 Oct 2019 15:32:02 +1100 Subject: [PATCH] avoid "return (value)" in void-declared function spotted by Tim Rice; ok dtucker --- openbsd-compat/sha2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); void SHA384Transform(u_int64_t state[8], const u_int8_t data[SHA512_BLOCK_LENGTH]) { - return SHA512Transform(state, data); + SHA512Transform(state, data); } void