1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-26 01:03:15 +03:00

agent: Fix type of the buffer

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2018-08-20 16:11:36 +02:00
parent 85d2c0371a
commit ce45de9ea2

View File

@@ -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 */