Mercurial > dropbear
comparison agentfwd.h @ 760:f336d232fc63 ecc
Make _sign and _verify functions take a buffer* rather than void* and int
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Apr 2013 16:00:37 +0800 |
parents | 405418f7dc5e |
children | deed0571cacc |
comparison
equal
deleted
inserted
replaced
759:76fba0856749 | 760:f336d232fc63 |
---|---|
38 #define MAX_AGENT_REPLY 10000 | 38 #define MAX_AGENT_REPLY 10000 |
39 | 39 |
40 /* client functions */ | 40 /* client functions */ |
41 void cli_load_agent_keys(m_list * ret_list); | 41 void cli_load_agent_keys(m_list * ret_list); |
42 void agent_buf_sign(buffer *sigblob, sign_key *key, | 42 void agent_buf_sign(buffer *sigblob, sign_key *key, |
43 const unsigned char *data, unsigned int len); | 43 buffer *data_buf); |
44 void cli_setup_agent(struct Channel *channel); | 44 void cli_setup_agent(struct Channel *channel); |
45 | 45 |
46 #ifdef __hpux | 46 #ifdef __hpux |
47 #define seteuid(a) setresuid(-1, (a), -1) | 47 #define seteuid(a) setresuid(-1, (a), -1) |
48 #define setegid(a) setresgid(-1, (a), -1) | 48 #define setegid(a) setresgid(-1, (a), -1) |