diff cli-kex.c @ 850:7507b174bba0 ecc

- Make curve25519 work after fixing a typo, interoperates with OpenSSH - comment on ecc binary size effects
author Matt Johnston <matt@ucc.asn.au>
date Sat, 09 Nov 2013 00:02:26 +0800
parents 754d7bee1068
children 220f55d540ae
line wrap: on
line diff
--- a/cli-kex.c	Fri Nov 08 23:32:13 2013 +0800
+++ b/cli-kex.c	Sat Nov 09 00:02:26 2013 +0800
@@ -79,7 +79,7 @@
 				}
 				cli_ses.curve25519_param = gen_kexcurve25519_param();
 			}
-			buf_putstring(ses.writepayload, cli_ses.curve25519_param->priv, CURVE25519_LEN);
+			buf_putstring(ses.writepayload, cli_ses.curve25519_param->pub, CURVE25519_LEN);
 #endif
 			break;
 	}