File bunny-2.6.2-set-default-paths.diff of Package rubygem-bunny
diff -ru bunny-2.6.2.orig/lib/bunny/transport.rb bunny-2.6.2/lib/bunny/transport.rb
--- bunny-2.6.2.orig/lib/bunny/transport.rb 2017-01-30 11:45:38.450558847 +0100
+++ bunny-2.6.2/lib/bunny/transport.rb 2017-01-30 11:46:24.691279686 +0100
@@ -464,6 +464,7 @@
@logger.error "No CA certificates found, add one with :tls_ca_certificates"
end
OpenSSL::X509::Store.new.tap do |store|
+ store.set_default_paths
cert_files.select { |path| File.readable?(path) }.
each { |path| store.add_file(path) }
cert_inlines.