diff 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
line wrap: on
line diff
--- a/cli-agentfwd.c	Sat Apr 06 16:00:37 2013 +0800
+++ b/cli-agentfwd.c	Sun Apr 07 01:36:42 2013 +0800
@@ -266,7 +266,7 @@
 	string			data
 	uint32			flags
 	*/
-	request_data = buf_new(MAX_PUBKEY_SIZE + data_buf>-len + 12);
+	request_data = buf_new(MAX_PUBKEY_SIZE + data_buf->len + 12);
 	buf_put_pub_key(request_data, key, key->type);
 	
 	buf_putbufstring(request_data, data_buf);