diff options
author | jake <jake@jakes-mail.top> | 2022-01-31 02:15:57 -0500 |
---|---|---|
committer | jake <jake@jakes-mail.top> | 2022-01-31 02:15:57 -0500 |
commit | 80c373f688dc494f05fff492039b2574c2734b32 (patch) | |
tree | c614a39c2cb6b080f85e7ad19eaf21886f1f3279 /gmi.pl | |
parent | d62344f6747f224f2019f15a034a609d15e14293 (diff) |
remove used vars in peer_cert()
Diffstat (limited to 'gmi.pl')
-rwxr-xr-x | gmi.pl | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -313,18 +313,13 @@ sub peer_cert { my $peer_fingerprint = $peer_cert->{fingerprint_sha256}; my $peer_not_before = $peer_cert->{not_before}; my $peer_not_after = $peer_cert->{not_after}; - my $peer_commonName = $peer_cert->{subject}->{commonName}; - my $peer_subjectAltNames = $peer_cert->{subjectAltNames}; my $verify_hostname = $cl->verify_hostname($hostname); ### $peer_cert ### $peer_fingerprint ### $peer_not_before ### $peer_not_after - ### $peer_commonName - ### $peer_subjectAltNames ### $verify_hostname - if (! $verify_hostname) { print $OUT "The server offers a cert that doesn't match their domain name.\n"; return 0; |