mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Pointer parameter could be declared as pointing to const
This commit is contained in:
@@ -331,7 +331,7 @@ int cli_auth_try() {
|
||||
#if DROPBEAR_CLI_PASSWORD_AUTH || DROPBEAR_CLI_INTERACT_AUTH
|
||||
/* A helper for getpass() that exits if the user cancels. The returned
|
||||
* password is statically allocated by getpass() */
|
||||
char* getpass_or_cancel(char* prompt)
|
||||
char* getpass_or_cancel(const char* prompt)
|
||||
{
|
||||
char* password = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user