Project

General

Profile

Bug #2073 ยป undefine_method_update.patch

Bug fix patch - Antony Perigault, 12/27/2012 08:55 AM

View differences:

lib/proxy_api.rb
hostprivkey = Setting[:ssl_priv_key]
# Use update rather than merge! as this is not rails dependent
@connect_params.update!(
@connect_params.merge!(
:ssl_client_cert => OpenSSL::X509::Certificate.new(File.read(cert)),
:ssl_client_key => OpenSSL::PKey::RSA.new(File.read(hostprivkey)),
:ssl_ca_file => ca_cert,
    (1-1/1)