Fixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change

does not build on Windows on non-MINGW32.


git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4525 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
james 2009-06-07 06:44:11 +00:00
parent e7a65dfbce
commit a168ce6d88

View File

@ -53,6 +53,8 @@
static HINSTANCE crypt32dll = NULL;
static BOOL WINAPI (*OpenVPNCryptAcquireCertificatePrivateKey) (PCCERT_CONTEXT pCert, DWORD dwFlags,
void *pvReserved, HCRYPTPROV *phCryptProv, DWORD *pdwKeySpec, BOOL *pfCallerFreeProv) = NULL;
#else
#define OpenVPNCryptAcquireCertificatePrivateKey CryptAcquireCertificatePrivateKey
#endif
/* Size of an SSL signature: MD5+SHA1 */