]> git.ipfire.org Git - thirdparty/openvpn.git/commit
remove wrapper code for Windows CryptoAPI function
authorHeiko Hund <heiko.hund@sophos.com>
Wed, 17 Aug 2011 15:53:01 +0000 (15:53 +0000)
committerDavid Sommerseth <davids@redhat.com>
Tue, 21 Feb 2012 13:45:03 +0000 (14:45 +0100)
commit14a382a3f1c70fdbc822bcad27096040ed394661
treea71d66c18a106f7e2f80bddaf8619bfa51ccd4ed
parentd3ae271f719a83e41c2eda3306156d02933203f8
remove wrapper code for Windows CryptoAPI function

The CryptoAPI function CryptAcquireCertificatePrivateKey() was previously
unsupported in MinGW. With recent w32api headers it's now defined, mostly.
Since the code used to load the CryptoAPI DLL is prone to a DLL hijacking
attack [1], it's now a good time to get rid of wrapper completely.

Just a few macros left that may still be undefined on some
systems using the original MinGW headers.

[1] http://isc.sans.edu/diary.html?storyid=9445

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: James Yonan <james@openvpn.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/4979
Signed-off-by: David Sommerseth <davids@redhat.com>
cryptoapi.c