summaryrefslogtreecommitdiff
blob: 4f1b99c8f3195317e8ee9bc3a9b1dac43f871d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Clang16 does not allow K&R C function declarations by default. This changes the declaration to a modern C function declaration.

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>

--- a/sha1.c
+++ b/sha1.c
@@ -131,8 +131,7 @@ void SHAInit(SHA_CTX *shsInfo)

    Note that this corrupts the shsInfo->data area */

-static void SHSTransform( digest, data )
-     UINT4 *digest, *data ;
+static void SHSTransform(UINT4 *digest,UINT4 *data)
     {
     UINT4 A, B, C, D, E;     /* Local vars */
     UINT4 eData[ 16 ];       /* Expanded data */