enh(protocol/x509): certificate mode - add default value when some attributes missing (#2773)
This commit is contained in:
parent
a7cd8142da
commit
bd06401e7d
|
@ -95,8 +95,8 @@ sub manage_selection {
|
|||
my $cert = $options{custom}->get_certificate_informations();
|
||||
|
||||
$self->{global} = {
|
||||
subject => $cert->{subject},
|
||||
issuer => $cert->{issuer},
|
||||
subject => defined($cert->{subject}) ? $cert->{subject} : '-',
|
||||
issuer => defined($cert->{issuer}) ? $cert->{issuer} : '-',
|
||||
expiration => $cert->{expiration},
|
||||
date => $cert->{expiration_date},
|
||||
alt_subjects => $cert->{alt_subjects}
|
||||
|
|
Loading…
Reference in New Issue