ssh: report write error immediately Previously, handshakeTransport.writePacket didn't return a new write error to its caller, although it did store it as t.writeError and return it to all subsequent callers. This behavior was introduced in 2e74c773682f59dc50a56475f7918dd8fa6dcaf8 but it's not clear why it would have been intentional. Fixes golang/go#57531 Change-Id: I8844cc32095ac69f63fa20e090255779736f8162 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/828084 Reviewed-by: Nicola Murino <nicola.murino@gmail.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.