Mercurial > dropbear
diff auth.h @ 1459:06d52bcb8094
Pointer parameter could be declared as pointing to const
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Sat, 19 Aug 2017 17:16:13 +0200 |
parents | 750ec4ec4cbe |
children | 51df3d53b050 |
line wrap: on
line diff
--- a/auth.h Sat Aug 12 20:51:58 2017 +0200 +++ b/auth.h Sat Aug 19 17:16:13 2017 +0200 @@ -36,7 +36,7 @@ void recv_msg_userauth_request(void); void send_msg_userauth_failure(int partial, int incrfail); void send_msg_userauth_success(void); -void send_msg_userauth_banner(buffer *msg); +void send_msg_userauth_banner(const buffer *msg); void svr_auth_password(void); void svr_auth_pubkey(void); void svr_auth_pam(void); @@ -74,7 +74,7 @@ void cli_auth_password(void); int cli_auth_pubkey(void); void cli_auth_interactive(void); -char* getpass_or_cancel(char* prompt); +char* getpass_or_cancel(const char* prompt); void cli_auth_pubkey_cleanup(void);