Skip to content
Browse files

Also give the option of using a CA File on platforms that don't use a…

… CA path by default (FreeBSD, in this case)
  • Loading branch information...
1 parent 0f6c6bf commit 7845f94e61a4cbbdbf08693587e940cd03d5ace0 @meanphil committed May 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/omniauth/strategies/cas/service_ticket_validator.rb
1 lib/omniauth/strategies/cas/service_ticket_validator.rb
@@ -81,6 +81,7 @@ def get_service_response_body
if http.use_ssl?
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if @options.disable_ssl_verification?
http.ca_path = @options.ca_path
+ http.ca_file = @options.ca_file
http.start do |c|
response = c.get "#{@uri.path}?#{@uri.query}", VALIDATION_REQUEST_HEADERS.dup

0 comments on commit 7845f94

Please sign in to comment.
Something went wrong with that request. Please try again.