commit | c5adb8216968be46bd11f7b7360a7c8bde1258d9 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri Nov 29 20:30:48 2024 -0500 |
committer | Russ Cox <rsc@golang.org> | Sat Nov 30 03:42:43 2024 +0000 |
tree | 00d448c1bd24cd2fbcd215da2e5a0acd823fc505 | |
parent | dd7ab5ec5d6329dd5da052d2438274572ad7113b [diff] |
crypto/rsa: check hash message length first in SignPKCS1v15 This restores the error checking behavior from Go 1.23. In particular, the boringcrypto code path now contains this check again. Change-Id: Ie38c68c27bc3a95c6a0b5a78fc4196694527cd6b Reviewed-on: https://go-review.googlesource.com/c/go/+/632495 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 4.0 Attribution license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://go.dev/dl/.
After downloading a binary release, visit https://go.dev/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://go.dev/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://go.dev/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://go.dev/wiki/Questions for a list of places to ask questions about the Go language.