aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/authentication.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-04-27 09:12:06 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-04-27 09:12:06 +0100
commit61afa439b5d7ebf5d28461d7097702d14e763037 (patch)
treee52bdc8cf8907dbac4b3716acc912f339bbe5e78 /lib/mauve/authentication.rb
parent9d1ad67ee450b76e1f56055dd9237059b28681fe (diff)
Calendar now honours ssl verify + http timeout settings.
Diffstat (limited to 'lib/mauve/authentication.rb')
-rw-r--r--lib/mauve/authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/authentication.rb b/lib/mauve/authentication.rb
index 24c6bd3..2637047 100644
--- a/lib/mauve/authentication.rb
+++ b/lib/mauve/authentication.rb
@@ -113,7 +113,7 @@ module Mauve
# Make sure we verify our peer before attempting login.
#
if client.http.use_ssl?
- client.http.ca_path = "/etc/ssl/certs/"
+ client.http.ca_path = "/etc/ssl/certs/" if File.directory?("/etc/ssl/certs")
client.http.verify_mode = Configuration.current.remote_https_verify_mode
end