On 04/07/2009 07:58:30 PM, Karl O. Pinc wrote:
One issue is that cryptoapi.c works around a problem where CryptAcquireCertificatePrivateKey is missing from MinGW. However, I've installed the latest stable MinGW, 5.1.4, and the function is now in MinGW. So, I tried commenting out the #ifdef __MINGW32_VERSION hacks in cryptoapi.c. This seems to have worked. (So far)
FYI, it does work. FWIW, I'm thinking myself through the problem and it occurs to me that the right way to do this is somewhere in the autoconf related tools. That way you can test and set a different variable than __MINGW32_VERSION for the #ifdefs to use, based on the value of __MINGW32_VERSION and when the needed components were added. I'm not competent enough in autoconf to make a patch. Regards, Karl <k...@meme.com> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein