From 8b0e221b413351d34da14ca0f92a1dbb7d35b933 Mon Sep 17 00:00:00 2001 From: CPbN Date: Sat, 12 Jan 2019 12:16:02 +0100 Subject: [PATCH] x509, do not remove subject from alt_subjects --- apps/protocols/x509/mode/certificate.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/protocols/x509/mode/certificate.pm b/apps/protocols/x509/mode/certificate.pm index 3f06ceb46..09b5ab04f 100644 --- a/apps/protocols/x509/mode/certificate.pm +++ b/apps/protocols/x509/mode/certificate.pm @@ -165,7 +165,6 @@ sub manage_selection { my $alt_subjects = ''; for (my $i = 0; $i < $#subject_alt_names; $i += 2) { my ($type, $name) = ($subject_alt_names[$i], $subject_alt_names[$i + 1]); - next if ($name eq $subject); if ($type == GEN_IPADD) { $name = inet_ntoa($name); }