aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorasaph2014-10-30 22:48:46 -0700
committerJack Nagel2014-10-31 20:32:02 -0500
commit599fe18457f58f9562752af1238097eb95f9f7de (patch)
treead888ed10dea841d1c3af7bd39c230a244868dfe /Library
parent62891f3713f1c5850a55d41ee6eff4ae358f7c69 (diff)
downloadhomebrew-599fe18457f58f9562752af1238097eb95f9f7de.tar.bz2
curl: set the default CA cert bundle when building against openssl
Closes #33769. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/curl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/curl.rb b/Library/Formula/curl.rb
index 8f76c3acc..1caab996a 100644
--- a/Library/Formula/curl.rb
+++ b/Library/Formula/curl.rb
@@ -46,6 +46,7 @@ class Curl < Formula
if MacOS.version < :mountain_lion or build.with? "openssl"
args << "--with-ssl=#{Formula["openssl"].opt_prefix}"
+ args << "--with-ca-bundle=#{etc}/openssl/cert.pem"
else
args << "--with-darwinssl"
end