mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Fix: output value instead of pointer address
* improve comment phrasing
This commit is contained in:
parent
4e09dbf41f
commit
3f9a820f66
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue