You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.
ssl_context.verify_mode =
case
when options.include?(:verify_mode) then options[:verify_mode]
when options.include?(:ca_file) then OpenSSL::SSL::VERIFY_PEER
when options.include?(:ca_path) then OpenSSL::SSL::VERIFY_PEER
else OpenSSL::SSL::VERIFY_NONE
end
The above ought to be more idiomatic, and done with if/elsif/else approach.
@stouset, can you refactor that? I believe that came as part of your recent upgrades to what is now Server::SSL?
The text was updated successfully, but these errors were encountered:
Per @tarcieri comment at #121 (diff)
The above ought to be more idiomatic, and done with if/elsif/else approach.
@stouset, can you refactor that? I believe that came as part of your recent upgrades to what is now
Server::SSL
?The text was updated successfully, but these errors were encountered: