Skip to content

Commit

Permalink
bugfix typo: fixes #26
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <[email protected]>
  • Loading branch information
inteon committed Mar 4, 2024
1 parent 9ab4727 commit c2c947f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/inspect/secret/secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ func describeIssuedBy(cert *x509.Certificate) string {
}{
CommonName: printOrNone(cert.Issuer.CommonName),
Organization: printSliceOrOne(cert.Issuer.Organization),
OrganizationalUnit: printSliceOrOne(cert.Issuer.Organization),
OrganizationalUnit: printSliceOrOne(cert.Issuer.OrganizationalUnit),
Country: printSliceOrOne(cert.Issuer.Country),
})

Expand All @@ -236,7 +236,7 @@ func describeIssuedFor(cert *x509.Certificate) string {
}{
CommonName: printOrNone(cert.Subject.CommonName),
Organization: printSliceOrOne(cert.Subject.Organization),
OrganizationalUnit: printSliceOrOne(cert.Subject.Organization),
OrganizationalUnit: printSliceOrOne(cert.Subject.OrganizationalUnit),
Country: printSliceOrOne(cert.Subject.Country),
})

Expand Down

0 comments on commit c2c947f

Please sign in to comment.