Project

General

Profile

Feature #9758 ยป 0001-Expose-SSLContext-extra_chain_cert-in-Net-HTTP.patch

stouset (Stephen Touset), 04/18/2014 08:47 PM

View differences:

lib/net/http.rb
766 766
      :@cert,
767 767
      :@cert_store,
768 768
      :@ciphers,
769
      :@extra_chain_cert,
769 770
      :@key,
770 771
      :@ssl_timeout,
771 772
      :@ssl_version,
......
779 780
      :cert,
780 781
      :cert_store,
781 782
      :ciphers,
783
      :extra_chain_cert
782 784
      :key,
783 785
      :ssl_timeout,
784 786
      :ssl_version,
......
806 808
    # Sets the available ciphers.  See OpenSSL::SSL::SSLContext#ciphers=
807 809
    attr_accessor :ciphers
808 810

  
811
    # Sets the extra X509 certificates to be added to the certificate chain.
812
    # See OpenSSL::SSL::SSLContext#extra_chain_cert=
813
    attr_accessor :extra_chain_cert
814

  
809 815
    # Sets an OpenSSL::PKey::RSA or OpenSSL::PKey::DSA object.
810 816
    # (This method is appeared in Michal Rokos's OpenSSL extension.)
811 817
    attr_accessor :key
812
-