Skip to content

Commit 7574564

Browse files
committed
sha1: win32: fix compilation due to unknown type
In commit bbf034a (hash: move `git_hash_prov` into Win32 backend, 2019-02-22), the `git_hash_prov`'s structure name has been removed in favour of its typedef'ed name. But as we have no CI that compiles with the WinHTTPS hashing backend right now, it wasn't noticed that the implementation that uses this struct wasn't changed correctly. Fix the struct type to make it compile again.
1 parent b7c247b commit 7574564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hash/sha1/win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/* BCRYPT_HASH_REUSEABLE_FLAGS */
2424
#define GIT_HASH_CNG_HASH_REUSABLE 0x00000020
2525

26-
static struct git_hash_prov hash_prov = {0};
26+
static git_hash_prov hash_prov = {0};
2727

2828
/* Hash initialization */
2929

0 commit comments

Comments
 (0)