mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
02dc6a7ec7
- Fix API deprecation warning PR: 245066 Submitted by: Derek Schrock <dereks@lifeofadishwasher.com> Approved by: maintainer timeout (changlp@cs.nctu.edu.tw, 25 days), ehaupt (mentor) MFH: 2020Q2 (blanket) Changelog: https://github.com/defunkt/gist/releases/tag/v5.1.0
13 lines
443 B
Plaintext
13 lines
443 B
Plaintext
--- build/gist.orig 2020-02-05 20:01:45 UTC
|
|
+++ build/gist
|
|
@@ -1713,7 +1713,8 @@ module Gist
|
|
end
|
|
if uri.scheme == "https"
|
|
connection.use_ssl = true
|
|
- connection.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
+ connection.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
|
+ connection.ca_file = "%%LOCALBASE%%/share/certs/ca-root-nss.crt"
|
|
end
|
|
connection.open_timeout = 10
|
|
connection.read_timeout = 10
|