]> wimlib.net Git - wimlib/blobdiff - src/sha1.c
Fix various NTFS capture issues
[wimlib] / src / sha1.c
index 27e0daf3a4badc7d449cd575f61bc83dbe152ff5..28a71848cbe4bf3a9e7a587902ae0973ede1caf1 100644 (file)
  * Steve Reid's public domain code, or based on Intel's SSSE3 SHA1 code.
  */
 
-#ifndef WITH_LIBCRYPTO
+const u8 zero_hash[SHA1_HASH_SIZE] = {
+       0, 0, 0, 0, 0,
+       0, 0, 0, 0, 0,
+       0, 0, 0, 0, 0,
+       0, 0, 0, 0, 0,
+};
+
 
+#ifndef WITH_LIBCRYPTO
 
 /*  Initialize new context */
 void sha1_init(SHA_CTX* context)