-
-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lowercase CN in all code paths (#6824)
When returning a CN from csr.NamesFromCSR, ensure that we call strings.ToLower on that name in all return paths. This prevents us from running into lint failures (and therefore refusing to issue) when an applicant submits a CSR containing uppercase SANs and no explicit CN.
- Loading branch information
1 parent
7c1f101
commit 276978a
Showing
2 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters