diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sha256.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sha256.h b/lib/sha256.h index 11be3adf1..ccbe6cfd7 100644 --- a/lib/sha256.h +++ b/lib/sha256.h @@ -20,7 +20,7 @@ # define SHA256_H 1 # include <stdio.h> -# include "md5.h" +# include <stdint.h> /* Structure to save state of computation between the single steps. */ struct sha256_ctx @@ -29,7 +29,7 @@ struct sha256_ctx uint32_t total[2]; uint32_t buflen; - char buffer[128]; + uint32_t buffer[32]; }; |