x509, do not remove subject from alt_subjects
This commit is contained in:
parent
d9751dcaef
commit
8b0e221b41
|
@ -165,7 +165,6 @@ sub manage_selection {
|
||||||
my $alt_subjects = '';
|
my $alt_subjects = '';
|
||||||
for (my $i = 0; $i < $#subject_alt_names; $i += 2) {
|
for (my $i = 0; $i < $#subject_alt_names; $i += 2) {
|
||||||
my ($type, $name) = ($subject_alt_names[$i], $subject_alt_names[$i + 1]);
|
my ($type, $name) = ($subject_alt_names[$i], $subject_alt_names[$i + 1]);
|
||||||
next if ($name eq $subject);
|
|
||||||
if ($type == GEN_IPADD) {
|
if ($type == GEN_IPADD) {
|
||||||
$name = inet_ntoa($name);
|
$name = inet_ntoa($name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue