ssh: return rest from ParseKnownHosts on parse errors ParseKnownHosts returned a nil rest on a parse error, so callers could not skip the invalid entry and keep parsing the remaining input. Return the input following the invalid entry together with the error. Change-Id: Ib77383a1834349951bb5c98ea309beb0f8c8c18a Reviewed-on: https://go-review.googlesource.com/c/crypto/+/850545 LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Junyang Shao <shaojunyang@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org>
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.