github / github/smimesign

Small error in example in readme

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
ietf-cms
Dominant language
Go
Stars
657
Forks
154
PR merge metrics
No merged PRs in 30d

Description

In the code:

sd, _ := ParseSignedData(der)
if err, _ := sd.VerifyDetached(msg, x509.VerifyOptions{}); err != nil {
panic(err)
}

I think `if err, _` should be `if _, err`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.