Skip to content

Commit ed0560d

Browse files
Fix: output value instead of pointer address
* improve comment phrasing
1 parent 7b1c350 commit ed0560d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/csaf_checker/processor.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,9 +1429,9 @@ func (p *processor) checkWellknownSecurityDNS(domain string) error {
14291429
}
14301430

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

@@ -1464,7 +1464,7 @@ func (p *processor) checkPGPKeys(_ string) error {
14641464
for i := range keys {
14651465
key := &keys[i]
14661466
if key.URL == nil {
1467-
p.badPGPs.error("Missing URL for fingerprint %x.", key.Fingerprint)
1467+
p.badPGPs.error("Missing URL for fingerprint %x.", *key.Fingerprint)
14681468
continue
14691469
}
14701470
up, err := url.Parse(*key.URL)

0 commit comments

Comments
 (0)