mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Change: cmd/csaf_checker/processor.go: Improve comment
This commit is contained in:
parent
318c898a83
commit
4a9f8a6f03
1 changed files with 1 additions and 0 deletions
|
|
@ -1411,6 +1411,7 @@ func (p *processor) checkWellknownSecurityDNS(domain string) error {
|
||||||
// Security check for well known (default) and legacy location
|
// Security check for well known (default) and legacy location
|
||||||
warningsS, sDMessage := p.checkSecurity(domain, false)
|
warningsS, sDMessage := p.checkSecurity(domain, false)
|
||||||
// if the security.txt under .well-known was not okay
|
// if the security.txt under .well-known was not okay
|
||||||
|
// check for a security.txt within its legacy location
|
||||||
sLMessage := ""
|
sLMessage := ""
|
||||||
if warningsS == 1 {
|
if warningsS == 1 {
|
||||||
warningsS, sLMessage = p.checkSecurity(domain, true)
|
warningsS, sLMessage = p.checkSecurity(domain, true)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue