mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
ssh: Add support for userauth banner.
The new libssh2_userauth_banner API allows to get an optional userauth banner sent with SSH_MSG_USERAUTH_BANNER packet by the server. Closes #610
This commit is contained in:
committed by
Daniel Stenberg
parent
13ad7b2f5c
commit
d5ed0e6536
@@ -720,6 +720,7 @@ struct _LIBSSH2_SESSION
|
||||
libssh2_nonblocking_states userauth_list_state;
|
||||
unsigned char *userauth_list_data;
|
||||
size_t userauth_list_data_len;
|
||||
char *userauth_banner;
|
||||
packet_requirev_state_t userauth_list_packet_requirev_state;
|
||||
|
||||
/* State variables used in libssh2_userauth_password_ex() */
|
||||
|
||||
Reference in New Issue
Block a user