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

Change: cmd/csaf_checker/processor.go: Improve comment

This commit is contained in:
JanHoefelmeyer 2023-11-21 12:14:45 +01:00
parent 318c898a83
commit 4a9f8a6f03

View file

@ -1411,6 +1411,7 @@ func (p *processor) checkWellknownSecurityDNS(domain string) error {
// Security check for well known (default) and legacy location
warningsS, sDMessage := p.checkSecurity(domain, false)
// if the security.txt under .well-known was not okay
// check for a security.txt within its legacy location
sLMessage := ""
if warningsS == 1 {
warningsS, sLMessage = p.checkSecurity(domain, true)