Guenter via RT wrote:
Hi,
it seems that all native MingW32 versions (tested with MingW32 4.50)
lack of stuff to compile e_capi.c:
[SNIP]
make[1]: *** [e_capi.o] Error 1
make[1]: Leaving directory `/d/openssl-1.0.0b/engines'
Therefore I've added some more define tests to OpenSSL 1.0.0b e_capi.c
to furher check what we have (or not) in wincrypt.h:
--- e_capi.c.orig Mon Mar 15 23:29:20 2010
+++ e_capi.c Thu Nov 18 17:43:19 2010
@@ -76,10 +76,16 @@
[SNIP]
*/
-#ifdef CERT_KEY_PROV_INFO_PROP_ID
+#if defined(CERT_KEY_PROV_INFO_PROP_ID)&& \
+ defined(CERT_STORE_PROV_SYSTEM_A)&& \
+ defined(CERT_STORE_READONLY_FLAG)
# define __COMPILE_CAPIENG
#endif /* CERT_KEY_PROV_INFO_PROP_ID */
#endif /* OPENSSL_NO_CAPIENG */
patch also attached.
I agree with Guenter about win api from mingw.org. The code should
compile fine for mingw-64 headers.
So if defined ... looks good. The comment could be more simple - some
mingw projects don't define XXXX.
Roumen
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [email protected]