1
0
mirror of https://github.com/c-kr/check_json.git synced 2024-11-23 19:03:49 +01:00

consistent var names

This commit is contained in:
Herman van Rink 2021-05-15 23:08:29 +02:00
parent c6ed8def7d
commit b0eff678c9
No known key found for this signature in database
GPG Key ID: 9D317CDE2CCC962F

View File

@ -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'},
);
}