From 3f9a820f66db48f77fe70d2ff4470752087e0ff8 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Wed, 4 Sep 2024 16:50:58 +0200 Subject: [PATCH] Fix: output value instead of pointer address * improve comment phrasing --- cmd/csaf_checker/processor.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/csaf_checker/processor.go b/cmd/csaf_checker/processor.go index 7cbe2add..a1268675 100644 --- a/cmd/csaf_checker/processor.go +++ b/cmd/csaf_checker/processor.go @@ -1445,9 +1445,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 badPGPs methods. It returns nil if all checks are passed. func (p *processor) checkPGPKeys(_ string) error { p.badPGPs.use() @@ -1481,7 +1481,7 @@ func (p *processor) checkPGPKeys(_ string) error { for i := range keys { key := &keys[i] if key.URL == nil { - p.badPGPs.error("Missing URL for fingerprint %x.", key.Fingerprint) + p.badPGPs.error("Missing URL for fingerprint %x.", *key.Fingerprint) continue } up, err := url.Parse(*key.URL)