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

docs: improve code comment (minor)

This commit is contained in:
Bernhard Reiter 2024-09-07 09:58:14 +02:00
parent c2e24f7bbb
commit 5231b3386b
No known key found for this signature in database
GPG key ID: 2B7BA3BF9BC3A554

View file

@ -1449,9 +1449,9 @@ func (p *processor) checkWellknownSecurityDNS(domain string) error {
}
// checkPGPKeys checks if the OpenPGP keys are available and valid, fetches
// the remotely keys and compares the fingerprints.
// As a result of these a respective error messages are passed to badPGP method
// in case of errors. It returns nil if all checks are passed.
// the remote pubkeys and compares the fingerprints.
// As a result of these checks respective error messages are passed
// to badPGP methods. It returns nil if all checks are passed.
func (p *processor) checkPGPKeys(_ string) error {
p.badPGPs.use()