smimesign icon indicating copy to clipboard operation
smimesign copied to clipboard

Small error in example in readme

Open torlangballe opened this issue 4 years ago • 0 comments

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

torlangballe avatar Nov 05 '20 09:11 torlangballe