summaryrefslogtreecommitdiff
path: root/pkgtools/digest/files/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/digest/files/sha1.h')
-rw-r--r--pkgtools/digest/files/sha1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/digest/files/sha1.h b/pkgtools/digest/files/sha1.h
index 991ab90cf75..4f9fca9b069 100644
--- a/pkgtools/digest/files/sha1.h
+++ b/pkgtools/digest/files/sha1.h
@@ -1,4 +1,4 @@
-/* $NetBSD: sha1.h,v 1.2 2002/12/21 04:06:15 schmonz Exp $ */
+/* $NetBSD: sha1.h,v 1.3 2007/07/03 18:54:05 joerg Exp $ */
/*
* SHA-1 in C
@@ -10,12 +10,12 @@
#define _SYS_SHA1_H_
typedef struct {
- u_int32_t state[5];
- u_int32_t count[2];
+ uint32_t state[5];
+ uint32_t count[2];
u_char buffer[64];
} SHA1_CTX;
-void SHA1Transform __P((u_int32_t state[5], const u_char buffer[64]));
+void SHA1Transform __P((uint32_t state[5], const u_char buffer[64]));
void SHA1Init __P((SHA1_CTX *context));
void SHA1Update __P((SHA1_CTX *context, const u_char *data, u_int len));
void SHA1Final __P((u_char digest[20], SHA1_CTX *context));