mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
Reformat ssh_auth_list().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@663 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
@@ -161,10 +161,11 @@ static int wait_auth_status(SSH_SESSION *session, int kbdint) {
|
||||
}
|
||||
|
||||
int ssh_auth_list(SSH_SESSION *session) {
|
||||
if (session == NULL) {
|
||||
return -1;
|
||||
}
|
||||
return session->auth_methods;
|
||||
if (session == NULL) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return session->auth_methods;
|
||||
}
|
||||
|
||||
int ssh_userauth_list(SSH_SESSION *session, const char *username){
|
||||
|
||||
Reference in New Issue
Block a user