[chore]: Bump golang.org/x/crypto from 0.24.0 to 0.25.0 (#3080)

This commit is contained in:
dependabot[bot] 2024-07-08 07:33:11 +00:00 committed by GitHub
commit a81455e81c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 91 additions and 1420 deletions

View file

@ -71,6 +71,10 @@ func (c *connection) clientAuthenticate(config *ClientConfig) error {
for auth := AuthMethod(new(noneAuth)); auth != nil; {
ok, methods, err := auth.auth(sessionID, config.User, c.transport, config.Rand, extensions)
if err != nil {
// On disconnect, return error immediately
if _, ok := err.(*disconnectMsg); ok {
return err
}
// We return the error later if there is no other method left to
// try.
ok = authFailure

View file

@ -20,4 +20,4 @@ References:
This package does not fall under the stability promise of the Go language itself,
so its API may be changed when pressing needs arise.
*/
package ssh // import "golang.org/x/crypto/ssh"
package ssh