Skip to content

Commit 947fce8

Browse files
author
Nicolas
committed
Merge pull request #53 from hameno/patch-1
Explicitly use SSLv3 for post-receive hook
2 parents a4fa98c + 4622bbe commit 947fce8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/hooks/post-receive.redmine_gitolite.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def run_query(url_str, params, with_https)
5656
http.read_timeout = 180
5757
if with_https
5858
http.use_ssl = true
59+
http.ssl_version = :SSLv3
5960
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
6061
end
6162
req = Net::HTTP::Post.new(url.request_uri)

0 commit comments

Comments
 (0)