diff options
| author | Dmitry Savintsev <dsavints@gmail.com> | 2015-06-26 12:09:45 +0200 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-06-26 16:08:22 +0000 |
| commit | c248aaef7049c9c90af787d7fa91de378fa7e202 (patch) | |
| tree | ec3218c8535e7c73d4b96314264f113397b52630 /src | |
| parent | 765c0f37ed4d716eebd2965acd0b79f5b614e617 (diff) | |
| download | go-c248aaef7049c9c90af787d7fa91de378fa7e202.tar.xz | |
crypto/ecdsa, crypto/x509: update SEC1 ECC link in comments
Updated the document URL in comments to avoid dead link
Old: http://www.secg.org/download/aid-780/sec1-v2.pdf
New: http://www.secg.org/sec1-v2.pdf
Change-Id: If13d0da4c0e7831b2bd92c45116c2412a2a965f5
Reviewed-on: https://go-review.googlesource.com/11550
Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/crypto/ecdsa/ecdsa.go | 2 | ||||
| -rw-r--r-- | src/crypto/x509/sec1.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/ecdsa/ecdsa.go b/src/crypto/ecdsa/ecdsa.go index d003f9d0b3..8d66477fd1 100644 --- a/src/crypto/ecdsa/ecdsa.go +++ b/src/crypto/ecdsa/ecdsa.go @@ -14,7 +14,7 @@ package ecdsa // [NSA]: Suite B implementer's guide to FIPS 186-3, // http://www.nsa.gov/ia/_files/ecdsa.pdf // [SECG]: SECG, SEC1 -// http://www.secg.org/download/aid-780/sec1-v2.pdf +// http://www.secg.org/sec1-v2.pdf import ( "crypto" diff --git a/src/crypto/x509/sec1.go b/src/crypto/x509/sec1.go index 7de66754ee..c4d7ab68f7 100644 --- a/src/crypto/x509/sec1.go +++ b/src/crypto/x509/sec1.go @@ -18,7 +18,7 @@ const ecPrivKeyVersion = 1 // ecPrivateKey reflects an ASN.1 Elliptic Curve Private Key Structure. // References: // RFC5915 -// SEC1 - http://www.secg.org/download/aid-780/sec1-v2.pdf +// SEC1 - http://www.secg.org/sec1-v2.pdf // Per RFC5915 the NamedCurveOID is marked as ASN.1 OPTIONAL, however in // most cases it is not. type ecPrivateKey struct { |
