comparison cli-agentfwd.c @ 761:ac2158e3e403 ecc

ecc kind of works, needs fixing/testing
author Matt Johnston <matt@ucc.asn.au>
date Sun, 07 Apr 2013 01:36:42 +0800
parents f336d232fc63
children c19acba28590
comparison
equal deleted inserted replaced
760:f336d232fc63 761:ac2158e3e403
264 byte SSH2_AGENTC_SIGN_REQUEST 264 byte SSH2_AGENTC_SIGN_REQUEST
265 string key_blob 265 string key_blob
266 string data 266 string data
267 uint32 flags 267 uint32 flags
268 */ 268 */
269 request_data = buf_new(MAX_PUBKEY_SIZE + data_buf>-len + 12); 269 request_data = buf_new(MAX_PUBKEY_SIZE + data_buf->len + 12);
270 buf_put_pub_key(request_data, key, key->type); 270 buf_put_pub_key(request_data, key, key->type);
271 271
272 buf_putbufstring(request_data, data_buf); 272 buf_putbufstring(request_data, data_buf);
273 buf_putint(request_data, 0); 273 buf_putint(request_data, 0);
274 274