From ed0560d2caceb694e8ca1dba7c9b406ca17ace85 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 f65d3cd6..e3f2fc76 100644 --- a/cmd/csaf_checker/processor.go +++ b/cmd/csaf_checker/processor.go @@ -1429,9 +1429,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() @@ -1464,7 +1464,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)