blob: 2764daa1054467727811677695ce66f7a7e9a475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- mu-conference-0.8.81/include/lib.h
+++ mu-conference-0.8.81/include/lib.h
@@ -114,13 +114,6 @@
/* SHA calculations */
/* */
/* --------------------------------------------------------- */
-#if (SIZEOF_INT == 4)
-typedef unsigned int uint32;
-#elif (SIZEOF_SHORT == 4)
-typedef unsigned short uint32;
-#else
-typedef unsigned int uint32;
-#endif /* HAVEUINT32 */
char *shahash(char *str); /* NOT THREAD SAFE */
void shahash_r(const char* str, char hashbuf[40]); /* USE ME */
@@ -301,10 +294,10 @@
typedef struct {
- uint32_t H[5];
- uint32_t W[80];
+ guint32 H[5];
+ guint32 W[80];
int lenW;
- uint32_t sizeHi,sizeLo;
+ guint32 sizeHi,sizeLo;
} j_SHA_CTX;
|