summaryrefslogtreecommitdiff
path: root/lib/soap/httpconfigloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/httpconfigloader.rb')
-rw-r--r--lib/soap/httpconfigloader.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/soap/httpconfigloader.rb b/lib/soap/httpconfigloader.rb
index ebc17d8f99..cd7bca8a65 100644
--- a/lib/soap/httpconfigloader.rb
+++ b/lib/soap/httpconfigloader.rb
@@ -60,6 +60,9 @@ module_function
def set_ssl_config(client, ssl_config)
ssl_config.each do |key, value|
cfg = client.ssl_config
+ if cfg.nil?
+ raise NotImplementedError.new("SSL not supported")
+ end
case key
when 'client_cert'
cfg.client_cert = cert_from_file(value)