diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-06-07 06:44:11 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2009-06-07 06:44:11 +0000 |
commit | a168ce6d88142496f474acdaee91575e653e7e86 (patch) | |
tree | 8b9fc93c8cfc59b51bd73641d50a261f7ed10a07 | |
parent | Fixed compile error on ./configure --enable-small (diff) | |
download | openvpn-a168ce6d88142496f474acdaee91575e653e7e86.tar.xz |
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
-rw-r--r-- | cryptoapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptoapi.c b/cryptoapi.c index 0e6b64c..8fb5387 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 */ |