From: james Date: Sun, 7 Jun 2009 06:44:11 +0000 (+0000) Subject: Fixed issue introduced in r4475 (2.1-rc17) where cryptoapi.c change X-Git-Tag: v2.1_rc18~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a168ce6d88142496f474acdaee91575e653e7e86;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/cryptoapi.c b/cryptoapi.c index 0e6b64c4b..8fb538713 100644 --- a/cryptoapi.c +++ b/cryptoapi.c @@ -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 */