Skip to content

Commit

Permalink
Fix for issue savonrb#26
Browse files Browse the repository at this point in the history
  • Loading branch information
carlhoerberg committed Jan 27, 2012
1 parent ecddb72 commit 2e778e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httpi/auth/ssl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class SSL

# Returns whether SSL configuration is present.
def present?
(verify_mode == :none) || (cert && cert_key)
(verify_mode == :none) || (cert && cert_key) || ca_cert_file
rescue TypeError, Errno::ENOENT
false
end
Expand Down

0 comments on commit 2e778e2

Please sign in to comment.