Skip to content

Commit 7e2836a

Browse files
committed
Modify TryAuthenticate to static.
1 parent 07c2a60 commit 7e2836a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Renci.SshNet/ClientAuthentication.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ public void Authenticate(IConnectionInfoInternal connectionInfo, ISession sessio
4646

4747
}
4848

49-
private bool TryAuthenticate(ISession session,
50-
AuthenticationState authenticationState,
51-
ICollection<string> allowedAuthenticationMethods,
52-
ref SshAuthenticationException authenticationException)
49+
private static bool TryAuthenticate(ISession session,
50+
AuthenticationState authenticationState,
51+
ICollection<string> allowedAuthenticationMethods,
52+
ref SshAuthenticationException authenticationException)
5353
{
5454
if (allowedAuthenticationMethods.Count == 0)
5555
{

0 commit comments

Comments
 (0)