summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2012-11-05 12:37:15 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2012-11-13 10:23:05 -0600
commitd6fb09240913c9756de5f4a2462062008ebac252 (patch)
treec4a99509abd1dffdcd52353d551089f257b54c1e /src/global.h
parente45423dd2c5ef8262f70605b81c6da0751d000a3 (diff)
downloadlibgit2-d6fb09240913c9756de5f4a2462062008ebac252.tar.gz
Win32 CryptoAPI and CNG support for SHA1
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index 0ad41ee63..b9f8b6773 100644
--- a/src/global.h
+++ b/src/global.h
@@ -8,10 +8,16 @@
#define INCLUDE_global_h__
#include "mwindow.h"
+#include "hash.h"
typedef struct {
git_error *last_error;
git_error error_t;
+
+#ifdef WIN32_SHA1
+ git_hash_prov hash_prov;
+#endif
+
} git_global_st;
git_global_st *git__global_state(void);