Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SSL helper loading on macOS #13277

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ def << msg
# If the vagrant_ssl library exists, a recent version
# of openssl is in use and its needed to load all the
# providers needed
if File.exist?(File.expand_path("vagrant/vagrant_ssl.so", __dir__))
vagrant_ssl_locations = [
File.expand_path("vagrant/vagrant_ssl.so", __dir__),
File.expand_path("vagrant/vagrant_ssl.bundle", __dir__)
]
if vagrant_ssl_locations.any? { |f| File.exist?(f) }
global_logger.debug("vagrant ssl helper found for loading ssl providers")
begin
require "vagrant/vagrant_ssl"
Expand Down