Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-08-13 03:10:16 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2002-08-13 03:10:16 +0400
commit03a0a275b57fb45cabf87683bc1715f64b6c288a (patch)
treeb4e80ffc54a3a7cc669174e10f71bc661d835b06 /winsup/w32api/include
parentd6f9ca7959c93f6f3d268ab202bb2945c9559fd6 (diff)
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/wincrypt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/w32api/include/wincrypt.h b/winsup/w32api/include/wincrypt.h
index 5d6aaa153..26ff8ba6b 100644
--- a/winsup/w32api/include/wincrypt.h
+++ b/winsup/w32api/include/wincrypt.h
@@ -503,6 +503,10 @@ BOOL WINAPI CryptReleaseContext(HCRYPTPROV,DWORD);
BOOL WINAPI CryptGenKey(HCRYPTPROV,ALG_ID,DWORD,HCRYPTKEY*);
BOOL WINAPI CryptDeriveKey(HCRYPTPROV,ALG_ID,HCRYPTHASH,DWORD,HCRYPTKEY*);
BOOL WINAPI CryptDestroyKey(HCRYPTKEY);
+#if (WINVER >= 0x0500)
+BOOL WINAPI CryptDuplicateHash(HCRYPTHASH,DWORD*,DWORD,HCRYPTHASH*);
+BOOL WINAPI CryptDuplicateKey(HCRYPTKEY,DWORD*,DWORD,HCRYPTKEY*);
+#endif
BOOL WINAPI CryptSetKeyParam(HCRYPTKEY,DWORD,PBYTE,DWORD);
BOOL WINAPI CryptGetKeyParam(HCRYPTKEY,DWORD,PBYTE,PDWORD,DWORD);
BOOL WINAPI CryptSetHashParam(HCRYPTHASH,DWORD,PBYTE,DWORD);