]> git.ipfire.org Git - thirdparty/git.git/blobdiff - csum-file.c
avoid SHA-1 functions deprecated in OpenSSL 3+
[thirdparty/git.git] / csum-file.c
index cce13c0f0473183a201a15e86de256cfd7bfc7d9..daf9b06dfff60efb47a603c4e8aa410848933e56 100644 (file)
@@ -7,9 +7,11 @@
  * files. Useful when you write a file that you want to be
  * able to verify hasn't been messed with afterwards.
  */
-#include "cache.h"
+#include "git-compat-util.h"
 #include "progress.h"
 #include "csum-file.h"
+#include "hash.h"
+#include "wrapper.h"
 
 static void verify_buffer_or_die(struct hashfile *f,
                                 const void *buf,