| 396 | } |
| 397 | |
| 398 | int FTPClientWrapperSSH::SetAcceptedMethods(AuthenticationMethods acceptedMethods) { |
| 399 | m_acceptedMethods = 0; |
| 400 | if (acceptedMethods & Method_Password) |
| 401 | m_acceptedMethods |= SSH_AUTH_METHOD_PASSWORD; |
| 402 | if (acceptedMethods & Method_Key) |
| 403 | m_acceptedMethods |= SSH_AUTH_METHOD_PUBLICKEY; |
| 404 | if (acceptedMethods & Method_Interactive) |
| 405 | m_acceptedMethods |= SSH_AUTH_METHOD_INTERACTIVE; |
| 406 | |
| 407 | return 0; |
| 408 | } |
| 409 | |
| 410 | ////////////////////////////////////////////////// |
| 411 | ////////////////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected