Merge pull request #1348 from p12tic/fix-openssl-windows-applink

Include openssl applink shim into Windows builds
This commit is contained in:
Povilas Kanapickas 2021-11-01 05:56:22 +02:00 committed by GitHub
commit dd31d0a539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -57,6 +57,12 @@
#include <cstring>
#include <stdexcept>
#if SYSAPI_WIN32
// Windows builds require a shim that makes it possible to link to different
// versions of the Win32 C runtime. See OpenSSL FAQ.
#include <openssl/applink.c>
#endif
namespace barrier {
namespace {