From: Lucas Nussbaum <lucas@debian.org>
Date: Mon, 6 May 2024 14:31:55 +0000
Subject: Raise error if openssl headers not found

Forwarded: not-needed, we are just being extra cautious
---
 ext/vagrant/vagrant_ssl/extconf.rb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/ext/vagrant/vagrant_ssl/extconf.rb b/ext/vagrant/vagrant_ssl/extconf.rb
index fa09bdf..15947c5 100644
--- a/ext/vagrant/vagrant_ssl/extconf.rb
+++ b/ext/vagrant/vagrant_ssl/extconf.rb
@@ -12,10 +12,5 @@ if have_header("openssl/opensslv.h")
   append_ldflags(["-lssl", "-lcrypto"])
   create_makefile("vagrant/vagrant_ssl")
 else
-  # If the header file isn't found, just create a dummy
-  # Makefile and stub the library to make it a noop
-  File.open("Makefile", "wb") do |f|
-    f.write(dummy_makefile(__dir__).join("\n"))
-  end
-  FileUtils.touch("vagrant_ssl.so")
+  raise "openssl/opensslv.h not found"
 end
