summaryrefslogtreecommitdiff
path: root/www/gist/files/patch-gist
blob: 638af6ab7b794b774ba464538d1f07447d357390 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gist.orig	2011-03-29 18:51:45.258852583 +0800
+++ gist	2011-03-29 14:51:47.060574433 +0800
@@ -182,7 +182,7 @@
 
     http.use_ssl = true
     http.verify_mode = OpenSSL::SSL::VERIFY_PEER
-    http.cert = OpenSSL::X509::Certificate.new(ca_cert)
+    http.ca_file = "/usr/local/share/certs/ca-root-nss.crt"
 
     req = Net::HTTP::Post.new(url.path)
     req.form_data = data(files, private_gist)