]> Cypherpunks repositories - gostls13.git/commitdiff
cmd,crypto/elliptic: fix typos in comments
authorapocelipes <seve3r@outlook.com>
Tue, 16 Apr 2024 07:42:26 +0000 (07:42 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 16 Apr 2024 17:46:09 +0000 (17:46 +0000)
Replace these incorrect fullwidth brackets with halfwidth brackets.

Change-Id: Ie17561c18334f9c07eedbff79e5f64ed4fc281bd
GitHub-Last-Rev: 94214be6cea75b4d1fa7b536cac523f061614d38
GitHub-Pull-Request: golang/go#66846
Reviewed-on: https://go-review.googlesource.com/c/go/+/579117
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/mips/asm0.go
src/cmd/internal/obj/s390x/asmz.go
src/crypto/elliptic/params.go

index 2804073db17a8ee8b87fea300e1efefcb26a2e0b..2dd4818ded7eeae366e1828179aa90f3bd164d59 100644 (file)
@@ -718,7 +718,7 @@ func (c *ctxt0) aclass(a *obj.Addr) int {
                        if c.instoffset <= 0xffff {
                                return C_ANDCON
                        }
-                       if c.instoffset&0xffff == 0 && isuint32(uint64(c.instoffset)) { /* && (instoffset & (1<<31)) == 0) */
+                       if c.instoffset&0xffff == 0 && isuint32(uint64(c.instoffset)) { /* && ((instoffset & (1<<31)) == 0) */
                                return C_UCON
                        }
                        if isint32(c.instoffset) || isuint32(uint64(c.instoffset)) {
index 7b560e00533ad3001419195fd1518e921c601dff..6d2962acd62740ef08cae33836c38e92ed12bf84 100644 (file)
@@ -691,7 +691,7 @@ func (c *ctxtz) aclass(a *obj.Addr) int {
                        if c.instoffset <= 0xffff {
                                return C_ANDCON
                        }
-                       if c.instoffset&0xffff == 0 && isuint32(uint64(c.instoffset)) { /* && (instoffset & (1<<31)) == 0) */
+                       if c.instoffset&0xffff == 0 && isuint32(uint64(c.instoffset)) { /* && ((instoffset & (1<<31)) == 0) */
                                return C_UCON
                        }
                        if isint32(c.instoffset) || isuint32(uint64(c.instoffset)) {
index 716e2c06ba871c2364801aca8d9db55764be55bc..0507d22b277f7bfa4908bd5a06117a9423b9d3bd 100644 (file)
@@ -201,7 +201,7 @@ func (curve *CurveParams) addJacobian(x1, y1, z1, x2, y2, z2 *big.Int) (*big.Int
 
 // Double implements [Curve.Double].
 //
-// Deprecated: the [CurveParams methods are deprecated and are not guaranteed to
+// Deprecated: the [CurveParams] methods are deprecated and are not guaranteed to
 // provide any security property. For ECDH, use the [crypto/ecdh] package.
 // For ECDSA, use the [crypto/ecdsa] package with a [Curve] value returned directly
 // from [P224], [P256], [P384], or [P521].