line |
true |
false |
branch |
106
|
0 |
0 |
if (scalar @_ == 4) { } |
148
|
0 |
0 |
if ($infile) |
151
|
0 |
0 |
unless open FD, "<$infile" |
159
|
0 |
0 |
if (defined $$self{'item'} and $$self{'item'} ne '') |
162
|
0 |
0 |
unless ($self->init) |
175
|
0 |
0 |
unless $$self{'cert'} |
185
|
0 |
0 |
unless $$self{'parsedItem'} |
192
|
0 |
0 |
if ($$self{'parsedItem'}{'HEADER'}{$h} =~ /\n/) { } |
219
|
0 |
0 |
if (($txt) = $req =~ /$beginHeader\n([\S\s\n]+)\n$endHeader/m) |
222
|
0 |
0 |
if ($active_multirow) { } |
|
0 |
0 |
elsif ($i =~ /^$beginAttribute$/) { } |
224
|
0 |
0 |
if ($i =~ /^$endAttribute$/) { } |
228
|
0 |
0 |
if $$ret{$key} |
245
|
0 |
0 |
unless (defined $$ret{'CSR_SERIAL'}) |
280
|
0 |
0 |
unless $$self{'parsedItem'} |
296
|
0 |
0 |
if ($$self{'certFormat'} eq 'DER') { } |
309
|
0 |
0 |
if $$self{'DEBUG'} |
323
|
0 |
0 |
if (substr($$ret{'DN'}, $i, 1) =~ /\\/) { } |
|
0 |
0 |
elsif (substr($$ret{'DN'}, $i, 1) =~ /=/) { } |
|
0 |
0 |
elsif (substr($$ret{'DN'}, $i, 1) =~ /[,+]/) { } |
327
|
0 |
0 |
if ($now =~ /value/) { } |
342
|
0 |
0 |
if $$self{'DEBUG'} |
343
|
0 |
0 |
if ($$ret{'DN'} =~ /\\/) { } |
345
|
0 |
0 |
unless ($x500_dn) |
346
|
0 |
0 |
if $$self{'DEBUG'} |
352
|
0 |
0 |
if $rdn->isMultivalued |
357
|
0 |
0 |
if $$self{'DEBUG'} |
368
|
0 |
0 |
if $$self{'DEBUG'} |
372
|
0 |
0 |
if (exists $$ret{'PUBKEY'}) |
379
|
0 |
0 |
if (not $$ret{'EMAILADDRESS'} and exists $$ret{'DN_HASH'}{'EMAILADDRESS'} and $$ret{'DN_HASH'}{'EMAILADDRESS'}[0]) |
398
|
0 |
0 |
if ($lines[$i] =~ /^[\s\t]*[^:]+:\s*(critical|)\s*$/i) { } |
409
|
0 |
0 |
if $val =~ /^$/ |
418
|
0 |
0 |
if ($$self{'DEBUG'}) |
430
|
0 |
0 |
if ($h =~ /CA:TRUE/i) { } |
445
|
0 |
0 |
unless ($$ret{'EMAILADDRESS'}) |
447
|
0 |
0 |
if ($h and $h =~ /^(.*,|)\s*email:/i) |
462
|
0 |
0 |
if ($$self{'certFormat'} eq 'PEM') |
467
|
0 |
0 |
unless ($$self{'pemCert'}) |
472
|
0 |
0 |
unless $$self{'pemCert'} |
485
|
0 |
0 |
unless $$self{'pemHeader'} |
493
|
0 |
0 |
if ($$self{'certFormat'} eq 'DER') |
496
|
0 |
0 |
unless ($$self{'derCert'}) |
501
|
0 |
0 |
unless $$self{'derCert'} |
514
|
0 |
0 |
unless ($$self{'txtCert'}) |
519
|
0 |
0 |
unless $$self{'txtCert'} |
545
|
0 |
0 |
unless $$self{'certFormat'} =~ /^PEM$/i |
547
|
0 |
0 |
if $$self{'DEBUG'} |
550
|
0 |
0 |
unless ($$self{'item'} =~ /$beginHeader/) |
557
|
0 |
0 |
if $$self{'DEBUG'} |
563
|
0 |
0 |
if ($$keys{$attribute} =~ /\n/) { } |
574
|
0 |
0 |
unless $self->init('CERTIFICATE', $$self{'item'}, 'FORMAT', 'PEM') |
589
|
0 |
0 |
unless ($self->getPEMHeader =~ /^\n*$bH\n*$eH\n*$/) |
601
|
0 |
0 |
if (defined $_[0] and $_[0] =~ /^CA/i || $_[0] =~ /CA_/i) { } |