1. May 08, 2023
    • Richard Levitte's avatar
      d4690639
    • Richard Levitte's avatar
      cmake/provider.cmake: add more variables · 6621a617
      Richard Levitte authored
      For providers that link with a shared libcrypto on Windows, it's necessary
      to copy the OpenSSL DLLs to the directory where the provider resides, 'cause
      that's how Windows works.  To that end, this macro now also provides the
      following variables if they aren't already defined:
      
      OPENSSL_RUNTIME_DIR             The runtime directory, i.e. where openssl.exe
                                      resides
      OPENSSL_LIBCRYPTO_SHARED        The libcrypto DLL file name
      OPENSSL_LIBSSL_SHARED           The libssl DLL file name
      
      This is not provided for non-Windows platforms, as it's not necessary there.
      6621a617
    • Richard Levitte's avatar
      cmake/provider.cmake: Give up on trying to fix FindOpenSSL.cmake's mess · 57681f7d
      Richard Levitte authored
      A lot of effort went into trying to fix FindOpenSSL.cmake's mixup of custom
      and Shining Light OpenSSL installations on Windows.  Unfortunately, that
      ended up creating more of a mess.  It's therefore time to admit defeat.
      
      The 'setup_provider_openssl' macro still has a purpose, though, to fill in
      the missing parts, such as library and modules directories, the path of the
      openssl program, etc.
      
      With MSVC, if you know that the Shining Light distribution is installed, and
      you want to try to use a custom install, simply do not build with the Debug
      configuration, because that's what FindOpenSSL.com doesn't get right.  All
      other configurations should use the custom installation's libraries.
      
      Note: the information given here relies on the library target property
      IMPORTED_LOCATION_DEBUG only being used for the Debug configuration,
      while the property IMPORTED_LOCATION_RELEASE is used for all other
      configurations.
      57681f7d
  2. May 04, 2023
    • Richard Levitte's avatar
      Implement another way to parse OSSL_PARAM keys · 3016a86a
      Richard Levitte authored
      The idea is to pre-generate a parse-tree for all params in a single
      provider.  This implementation creates a TRIE from all the param keys,
      which are specified in a file, and implements it as a single function
      (TRIE-as-code) that returns a parameter key index, along with a set of
      macros that give names to those indexes.
      3016a86a
    • Richard Levitte's avatar
      cmake/provider.cmake: Allow the use of OpenSSLConfig.cmake, and trust it · ba995a5e
      Richard Levitte authored
      Its use is detected with the presence of the variable 'OpenSSL_CONFIG'.
      If it isn't, an attempt is made to compensate for what FindOpenSSL.cmake
      doesn't get quite right, or where it's simply lacking.
      ba995a5e
  3. Feb 02, 2023
  4. Dec 17, 2022
  5. Dec 13, 2022
  6. Aug 05, 2022
  7. Jul 30, 2022
  8. Jan 24, 2022
  9. Aug 30, 2021
  10. Aug 18, 2021
  11. Feb 15, 2021
  12. Feb 14, 2021
  13. Feb 08, 2021