Skip to content

Commit

Permalink
Make display of self-signed certificates consistent with other scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Jan 20, 2013
1 parent 2fb5146 commit ca7d7a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/probe_certs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}

if ($subject eq $issuer) {
$issuer = "(self signed certificate)";
$issuer = "(self-signed certificate)";
}

$issuers{$issuer}{$loc} = 1;
Expand Down
8 changes: 1 addition & 7 deletions build/probe_nocerts.pl
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,7 @@
}

if ($subject eq $issuer) {
$issuer = "(self signed certificate)";
}

if ($issuer =~ /CN=([^,]+)/) {
$issuerCN = $1;
} else {
$issuerCN = $issuer;
$issuer = "(self-signed certificate)";
}

$issuers{$issuer}{$loc} = 1;
Expand Down

0 comments on commit ca7d7a5

Please sign in to comment.