]> git.proxmox.com Git - libgit2.git/commit - src/streams/openssl.c
Include openssl headers last
authorAki Koskinen <aki@secondlion.fi>
Fri, 27 Feb 2015 08:49:02 +0000 (10:49 +0200)
committerAki Koskinen <aki@secondlion.fi>
Mon, 2 Mar 2015 09:15:13 +0000 (11:15 +0200)
commitec0324422705875e84eb1afdeae36a4e1db5f467
tree9223f2c45f2079104cf17060e49d5ee671006c57
parenta944c6cc40273b45922fa22949fe6b12ff668889
Include openssl headers last

Windows headers #define some names that openssl uses too. Openssl
headers #undef the offending names before reusing them. But if those
offending Windows headers get included after the openssl headers the
namespace is polluted and nothing good happens.

Fixes issue #2850.
src/openssl_stream.c