diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-10 17:47:56 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-01-10 17:47:56 +0000 |
commit | d11af4159eb8836696ef29f1e1ac9ad4db348d47 (patch) | |
tree | 87dc9cf5d37eebdd601ef33b9925bfb955ff87ff /lib/sha1.h | |
parent | 71520b31c09c843d37c84abd12694e06428cdd47 (diff) | |
download | coreutils-d11af4159eb8836696ef29f1e1ac9ad4db348d47.tar.xz |
Sync from gnulib.
Diffstat (limited to 'lib/sha1.h')
-rw-r--r-- | lib/sha1.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/sha1.h b/lib/sha1.h index bb48855b8..a3ab132e8 100644 --- a/lib/sha1.h +++ b/lib/sha1.h @@ -20,20 +20,20 @@ # define SHA1_H 1 # include <stdio.h> -# include "md5.h" +# include <stdint.h> /* Structure to save state of computation between the single steps. */ struct sha1_ctx { - md5_uint32 A; - md5_uint32 B; - md5_uint32 C; - md5_uint32 D; - md5_uint32 E; - - md5_uint32 total[2]; - md5_uint32 buflen; - char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32)))); + uint32_t A; + uint32_t B; + uint32_t C; + uint32_t D; + uint32_t E; + + uint32_t total[2]; + uint32_t buflen; + char buffer[128] __attribute__ ((__aligned__ (__alignof__ (uint32_t)))); }; |