]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/ecdsa, crypto/x509: update SEC1 ECC link in comments
authorDmitry Savintsev <dsavints@gmail.com>
Fri, 26 Jun 2015 10:09:45 +0000 (12:09 +0200)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jun 2015 16:08:22 +0000 (16:08 +0000)
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>
src/crypto/ecdsa/ecdsa.go
src/crypto/x509/sec1.go

index d003f9d0b3c554d85ecbe1cd83cf1e7235506c78..8d66477fd10d2871e0b4bc571383a683058db4fe 100644 (file)
@@ -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"
index 7de66754eeb082a0d3984cf571a5e849c53249a3..c4d7ab68f7dbbb9d7cb8d8f5217f74c3e34caf83 100644 (file)
@@ -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 {