-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current code is using fnmatch(3) which allows a wildcard to match multiple DNS labels. e.g. *.domain.tld matches foo.bar.domain.tld. This is incorrect. According to the RFC a wildcard can at most match one DNS label (only bar.domain.tld in the example above). For OpenSSL 1.0.2 and above we make use of X509_check_host(). For older versions we check the left most DNS label only, which is the same Apache currently supports.
- Loading branch information
Showing
1 changed file
with
34 additions
and
4 deletions.
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