openssl: add newline to cert.pem (#35202)
This commit is contained in:
parent
d7803ff93a
commit
709ebb0315
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue