Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/rsa: SignPSS documentation is incorrect. #9897

Closed
james-lawrence opened this issue Feb 16, 2015 · 1 comment
Closed

crypto/rsa: SignPSS documentation is incorrect. #9897

james-lawrence opened this issue Feb 16, 2015 · 1 comment
Milestone

Comments

@james-lawrence
Copy link
Contributor

from the documentation:
"The opts argument may be nil, in which case sensible defaults are used."

Errors out because it trys to access the Hash off nil.

offending code: line 258

if opts.Hash != 0 {
    hash = opts.Hash
}
@bradfitz bradfitz added this to the Go1.5 milestone Feb 16, 2015
@bradfitz bradfitz changed the title rsa.SignPSS documentation is incorrect. crypto/rsa: SignPSS documentation is incorrect. Feb 16, 2015
@mvanotti
Copy link

This was fixed in commit b137074

@minux minux closed this as completed Feb 17, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc unassigned agl Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants