| 680 | } |
| 681 | |
| 682 | type retryableAuthMethod struct { |
| 683 | authMethod AuthMethod |
| 684 | maxTries int |
| 685 | } |
| 686 | |
| 687 | func (r *retryableAuthMethod) auth(session []byte, user string, c packetConn, rand io.Reader, extensions map[string][]byte) (ok authResult, methods []string, err error) { |
| 688 | for i := 0; r.maxTries <= 0 || i < r.maxTries; i++ { |
nothing calls this directly
no outgoing calls
no test coverage detected