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:
@@ -121,7 +121,7 @@ void recv_msg_userauth_pk_ok() {
|
||||
}
|
||||
|
||||
void cli_buf_put_sign(buffer* buf, sign_key *key, int type,
|
||||
buffer *data_buf) {
|
||||
const buffer *data_buf) {
|
||||
#if DROPBEAR_CLI_AGENTFWD
|
||||
if (key->source == SIGNKEY_SOURCE_AGENT) {
|
||||
/* Format the agent signature ourselves, as buf_put_sign would. */
|
||||
|
||||
Reference in New Issue
Block a user