84dee8dde8
- Fix types issues on 64-bits architectures. PR: ports/75878 Submitted by: Ville-Pertti Keinonen <will@exomi.com> Approved by: maintainer timeout (3 months)
18 lines
275 B
C
18 lines
275 B
C
|
|
$FreeBSD$
|
|
|
|
--- shs.h.orig
|
|
+++ shs.h
|
|
@@ -1,7 +1,9 @@
|
|
+#include <inttypes.h>
|
|
+
|
|
typedef struct {
|
|
- long totalLength;
|
|
- unsigned long h[5];
|
|
- unsigned long w[80];
|
|
+ int32_t totalLength;
|
|
+ uint32_t h[5];
|
|
+ uint32_t w[80];
|
|
} SHS_CTX;
|
|
|
|
unsigned char *qshs();
|