cyclonedds/cmake/Modules
Erik Boasson 812fa3e42f Deal with OpenSSL in a DLL on Windows
OpenSSL doesn't support using BIOs of the "fd" or "file" type when it is
built as a DLL and the executable didn't provide it with access to the
executable's CRT.  Requiring all applications that wish to use security
to worry about this "applink.c" thing is too onerous a requirement.

* Check for the existence of "applink.c" in the OpenSSL include
  directory, adding it to the security tests if it exists.  This way,
  all of OpenSSL can be used by the tests.

* Include it in the security core and built-in plugin tests.  This way,
  the test code can use the entirety of OpenSSL.

* In the authentication and access-control plugins, load X509 and
  private keys from files by first reading them into a "mem" type BIO,
  then reading them from that BIO.

* Take care not to call ddsrt_free on OpenSSL-allocated memory, either
  by calling OPENSSL_free, or by allocating the memory using
  ddsrt_malloc and letting OpenSSL fill that buffer.

Signed-off-by: Erik Boasson <eb@ilities.com>
2020-06-26 11:47:56 +02:00
..
CUnit Report failure from CUnit only on test failure 2019-11-19 15:16:52 +01:00
Packaging Move IDLC to its own install component 2019-11-14 10:02:01 +01:00
AnalyzeBuild.cmake Reorganize repository 2019-07-30 10:52:44 +02:00
CUnit.cmake Merge branch 'master' into merge6 2019-12-13 12:59:37 +01:00
FindCUnit.cmake First check the CMake Package Registry for CUnit 2019-10-22 22:33:10 +02:00
FindMaven.cmake Reorganize repository 2019-07-30 10:52:44 +02:00
FindOpenSSL.cmake Deal with OpenSSL in a DLL on Windows 2020-06-26 11:47:56 +02:00
FindSphinx.cmake Fix paths in documentation generation 2020-05-08 10:09:11 +02:00
GenerateDummyExportHeader.cmake Reorganize repository 2019-07-30 10:52:44 +02:00
Glob.cmake Reorganize repository 2019-07-30 10:52:44 +02:00
Packaging.cmake Fix install dir of CycloneDDSConfig.cmake (#321) 2019-11-18 14:21:10 +01:00