4 Commits

Author SHA1 Message Date
Chris Roberts
f14883dc89 Include libcrypto when linking 2023-05-31 08:48:13 -07:00
Chris Roberts
75faafaa3a Update flags prior to checks and makefile generation 2023-05-31 08:48:13 -07:00
Chris Roberts
e3c8ad33ff Properly handle when header file is not found
When header file is not found, generate a dummy Makefile and target
result so extension build will be successful but essentially a no-op
2023-05-31 08:48:13 -07:00
Chris Roberts
415b006ebd Add helper for loading OpenSSL providers
On OpenSSL 3, engines have been deprecated being replaced by providers.
The Ruby openssl library supported loading specific engines, but there
is no replacement currently using providers. The winrm communicator
specifically relies on a MD4 which OpenSSL has marked as legacy and no
longer loads by default.

The extension included loads the legacy provider as well as the default
provider. The legacy provider includes MD4, thus allowing winrm to
function again.
2023-05-25 15:36:55 -07:00