diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-08-20 16:11:36 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-08-20 18:42:03 +0200 |
commit | ce45de9ea2a8577bc450766bb2830fadc4ecad8d (patch) | |
tree | e2cf57f64fba660103d9b51b2cc9a0d6d8d60462 /src/agent.c | |
parent | 85d2c0371a6b6c76a1c4e37912393738b15ba8ba (diff) | |
download | libssh-ce45de9ea2a8577bc450766bb2830fadc4ecad8d.tar.gz libssh-ce45de9ea2a8577bc450766bb2830fadc4ecad8d.tar.xz libssh-ce45de9ea2a8577bc450766bb2830fadc4ecad8d.zip |
agent: Fix type of the buffer
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/agent.c b/src/agent.c index 114dadf1..bcde62aa 100644 --- a/src/agent.c +++ b/src/agent.c @@ -331,7 +331,7 @@ int ssh_agent_get_ident_count(struct ssh_session_struct *session) { ssh_buffer request = NULL; ssh_buffer reply = NULL; unsigned int type = 0; - uint8_t buf[4] = {0}; + uint32_t buf[1] = {0}; int rc; /* send message to the agent requesting the list of identities */ |