golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.67k stars 17.49k forks source link

typo in crypto/elliptic documentation #3809

Closed gopherbot closed 9 years ago

gopherbot commented 12 years ago

by roberto.catini:

The comment for the P521 function partially reference another function:

At line 373 of the source code:
http://golang.org/src/pkg/crypto/elliptic/elliptic.go?s=11710:11727#L364

the comment should read:
// P521 returns a Curve which implements P-521 (see FIPS 186-3, section D.2.5)
davecheney commented 12 years ago

Comment 1:

Thanks for the report. This was fixed on the 14th and will be merged into the next
Go1.0.x release.

Status changed to Duplicate.

Merged into issue #3735.