1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Code documentation

This commit is contained in:
Fadi Abbud 2022-03-07 14:39:29 +01:00
parent aa60e8f245
commit 41a2d50773
2 changed files with 8 additions and 0 deletions

View file

@ -182,6 +182,8 @@ func (p *processor) checkDomain(domain string) error {
return nil
}
// checkTLS parses the given URL to check its schema, as a result set
// the value of "noneTLS" field if it is not HTTPS.
func (p *processor) checkTLS(u string) {
if p.noneTLS == nil {
p.noneTLS = map[string]struct{}{}