[openssh-commits] [openssh] 01/01: avoid "return (value)" in void-declared function

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Oct 8 15:33:06 AEDT 2019


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 13b3369830a43b89a503915216a23816d1b25744
Author: Damien Miller <djm at mindrot.org>
Date:   Tue Oct 8 15:32:02 2019 +1100

    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 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

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list