lib/faraday/adapter/net_http.rb in faraday-net_http-3.1.1 vs lib/faraday/adapter/net_http.rb in faraday-net_http-3.2.0

- old
+ new

@@ -131,10 +131,13 @@ http.use_ssl = true if http.respond_to?(:use_ssl=) http.verify_mode = ssl_verify_mode(ssl) http.cert_store = ssl_cert_store(ssl) - http.cert = ssl[:client_cert] if ssl[:client_cert] + cert, *extra_chain_cert = ssl[:client_cert] + http.cert = cert if cert + http.extra_chain_cert = extra_chain_cert if extra_chain_cert.any? + http.key = ssl[:client_key] if ssl[:client_key] http.ca_file = ssl[:ca_file] if ssl[:ca_file] http.ca_path = ssl[:ca_path] if ssl[:ca_path] http.verify_depth = ssl[:verify_depth] if ssl[:verify_depth] http.ssl_version = ssl[:version] if ssl[:version]