openssl: add newline to cert.pem (#35202)

This commit is contained in:
Eric N. Vander Weele 2018-12-18 01:05:49 -08:00 committed by FX Coudert
parent d7803ff93a
commit 709ebb0315
2 changed files with 2 additions and 2 deletions

View file

@ -109,7 +109,7 @@ class Openssl < Formula
openssldir.install "cacert-#{resource("ca-bundle").version}.pem" => "cert.pem"
end
else
(openssldir/"cert.pem").atomic_write(valid_certs.join("\n"))
(openssldir/"cert.pem").atomic_write(valid_certs.join("\n") << "\n")
end
end

View file

@ -82,7 +82,7 @@ class OpensslAT11 < Formula
end
openssldir.mkpath
(openssldir/"cert.pem").atomic_write(valid_certs.join("\n"))
(openssldir/"cert.pem").atomic_write(valid_certs.join("\n") << "\n")
end
def caveats; <<~EOS