From 89e64c631ec8dee41ec4de888548d36887b6ec98 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sat, 19 Aug 2017 17:16:13 +0200 Subject: Pointer parameter could be declared as pointing to const --- cli-authpubkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-authpubkey.c') diff --git a/cli-authpubkey.c b/cli-authpubkey.c index b60c5c9..7cee164 100644 --- a/cli-authpubkey.c +++ b/cli-authpubkey.c @@ -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. */ -- cgit v1.2.3