Below is Alex's patch. I think it should it taken after some testing.

We need to test on 32-bit and 64-bit Windows, but I don't have those 
environments for testing. (I can test on other platforms, like Linux BSD 
and OS X to ensure no cross pollination or unintended consequences).

QUESTION: Are there any objections to taking it?

QUESTION: Can anyone assist in testing the change below?

Jeff

diff --git a/osrng.h b/osrng.h
index ae07d05..c2dba27 100644
--- a/osrng.h
+++ b/osrng.h
@@ -32,6 +32,8 @@ class CRYPTOPP_DLL MicrosoftCryptoProvider
        ~MicrosoftCryptoProvider();
 #if defined(_WIN64)
        typedef unsigned __int64 ProviderHandle;        // type HCRYPTPROV, 
avoid #include <windows.h>
+#elif defined(__CYGWIN__) && defined(__x86_64__)
+       typedef unsigned long long ProviderHandle;
 #else
        typedef unsigned long ProviderHandle;
 #endif


-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to