From 3421c4cd6730ea8a0ac2a0d89e2d1b795eebeb7f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 6 Aug 2019 10:54:51 +0200 Subject: [PATCH] Fix #1608 --- hardware/server/hp/ilo/xmlapi/custom/api.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/server/hp/ilo/xmlapi/custom/api.pm b/hardware/server/hp/ilo/xmlapi/custom/api.pm index 725d87902..12e452e91 100644 --- a/hardware/server/hp/ilo/xmlapi/custom/api.pm +++ b/hardware/server/hp/ilo/xmlapi/custom/api.pm @@ -102,7 +102,7 @@ sub check_options { $self->{option_results}->{ssl_opt} = ['SSL_verify_mode => SSL_VERIFY_NONE']; $self->{ssl_opts} = 'SSL_verify_mode => SSL_VERIFY_NONE'; } else { - foreach (keys @{$self->{option_results}->{ssl_opt}}) { + foreach (@{$self->{option_results}->{ssl_opt}}) { $self->{ssl_opts} .= "$_, "; } }