diff options
Diffstat (limited to 'src/util/hash/win32.h')
| -rw-r--r-- | src/util/hash/win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util/hash/win32.h b/src/util/hash/win32.h index c05804753..a9fb87aee 100644 --- a/src/util/hash/win32.h +++ b/src/util/hash/win32.h @@ -38,6 +38,13 @@ typedef struct { } ctx; } git_hash_win32_ctx; +/* + * Gets/sets the current hash provider (cng or cryptoapi). This is only + * for testing purposes. + */ +git_hash_win32_provider_t git_hash_win32_provider(void); +int git_hash_win32_set_provider(git_hash_win32_provider_t provider); + #ifdef GIT_SHA1_WIN32 struct git_hash_sha1_ctx { git_hash_win32_ctx win32; |
