From b0eff678c9a1c831f012d4e2f1a688b287ad29b5 Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Sat, 15 May 2021 23:08:29 +0200 Subject: [PATCH] consistent var names --- check_json.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/check_json.pl b/check_json.pl index b956028..34f23c0 100755 --- a/check_json.pl +++ b/check_json.pl @@ -140,10 +140,10 @@ if ($np->opts->ignoressl) { if ($np->opts->{'cacert'}) { $ua->ssl_opts(SSL_ca_file => $np->opts->{'cacert'}); } -if ($np->opts->httpclientcert) { +if ($np->opts->{'client-cert'}) { $ua->ssl_opts( - SSL_cert_file => $np->opts->httpclientcert, - SSL_key_file => $np->opts->httpprivatekey, + SSL_cert_file => $np->opts->{'client-cert'}, + SSL_key_file => $np->opts->{'private-key'}, ); }