Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Memoize the fedora client certificate store to avoid unnecessary reinitialization #274

Merged
merged 1 commit into from
Nov 18, 2016

Conversation

cbeer
Copy link
Contributor

@cbeer cbeer commented Nov 17, 2016

@coveralls
Copy link

coveralls commented Nov 17, 2016

Coverage Status

Coverage decreased (-0.05%) to 89.68% when pulling 1047333 on custom-cert-store into 2d7e982 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Nov 17, 2016

Coverage Status

Coverage decreased (-0.05%) to 89.68% when pulling 1047333 on custom-cert-store into 2d7e982 on master.

@@ -131,6 +131,7 @@ def fedora_config
connection_opts = { :url => fedora.safeurl, :user => fedora_uri.user, :password => fedora_uri.password }
connection_opts[:ssl_client_cert] = OpenSSL::X509::Certificate.new(File.read(ssl.cert_file)) if ssl.cert_file.present?
connection_opts[:ssl_client_key] = OpenSSL::PKey::RSA.new(File.read(ssl.key_file), ssl.key_pass) if ssl.key_file.present?
connection_opts[:cert_store] = default_ssl_cert_store

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@drh-stanford drh-stanford merged commit d8d32e5 into master Nov 18, 2016
@drh-stanford drh-stanford deleted the custom-cert-store branch November 18, 2016 18:36
@coveralls
Copy link

coveralls commented Nov 18, 2016

Coverage Status

Coverage decreased (-0.05%) to 89.686% when pulling 8f7e277 on custom-cert-store into f52ba3a on master.

4 similar comments
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 89.686% when pulling 8f7e277 on custom-cert-store into f52ba3a on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 89.686% when pulling 8f7e277 on custom-cert-store into f52ba3a on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 89.686% when pulling 8f7e277 on custom-cert-store into f52ba3a on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 89.686% when pulling 8f7e277 on custom-cert-store into f52ba3a on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants