diff options
Diffstat (limited to 'src/build.c')
-rw-r--r-- | src/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.c b/src/build.c index bf4d023..7bbf809 100644 --- a/src/build.c +++ b/src/build.c @@ -19,8 +19,8 @@ #include <fcntl.h> #include <libgen.h> /* dirname(), basename() */ -#include <openssl/sha.h> +#include "sha1.h" #include "build.h" #include "util.h" #include "filepath.h" @@ -371,7 +371,7 @@ static void hash_file(const char *target, unsigned char (*hash)[HASHSIZE]) { static void write_dep_hash(const char *target) { assert(getenv("REDO_MAGIC")); - unsigned char hash[SHA_DIGEST_LENGTH]; + unsigned char hash[HASHSIZE]; unsigned magic = atoi(getenv("REDO_MAGIC")); hash_file(target, &hash); |