aboutsummaryrefslogtreecommitdiff
path: root/src/internal/bytealg
diff options
context:
space:
mode:
authordchaofei <dchaofei@gmail.com>2022-05-19 02:02:50 +0000
committerGopher Robot <gobot@golang.org>2023-11-01 19:04:52 +0000
commitea3010d994c927907fda2d742799f5629cdf9265 (patch)
treed207d4c5f8be58b81605e886810f90de4bd07ab5 /src/internal/bytealg
parenta05a25cb19d1ea222e37e7172fe489d972c0ec67 (diff)
downloadgo-ea3010d994c927907fda2d742799f5629cdf9265.tar.xz
crypto/x509: optimize the performance of checkSignature
The loop should be terminated immediately when `algo` has been found Fixes #52955 Change-Id: Ib3865c4616a0c1af9b72daea45f5a1750f84562f GitHub-Last-Rev: 721322725fb2d3a3ea410d09fd8320dfef865d8d GitHub-Pull-Request: golang/go#52987 Reviewed-on: https://go-review.googlesource.com/c/go/+/407215 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Auto-Submit: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/internal/bytealg')
0 files changed, 0 insertions, 0 deletions