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.
15 lines
250 B
C
15 lines
250 B
C
#if !defined(_VAGRANT_SSL_H_)
|
|
#define _VAGRANT_SSL_H_
|
|
|
|
#include <openssl/opensslv.h>
|
|
#if OPENSSL_VERSION_NUMBER >= (3 << 28)
|
|
#define _VAGRANT_SSL_PROVIDER_
|
|
|
|
#include <ruby.h>
|
|
#include <openssl/provider.h>
|
|
#endif
|
|
|
|
void Init_vagrant_ssl(void);
|
|
|
|
#endif
|