comparison 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
comparison
equal deleted inserted replaced
849:754d7bee1068 850:7507b174bba0
77 if (cli_ses.curve25519_param) { 77 if (cli_ses.curve25519_param) {
78 free_kexcurve25519_param(cli_ses.curve25519_param); 78 free_kexcurve25519_param(cli_ses.curve25519_param);
79 } 79 }
80 cli_ses.curve25519_param = gen_kexcurve25519_param(); 80 cli_ses.curve25519_param = gen_kexcurve25519_param();
81 } 81 }
82 buf_putstring(ses.writepayload, cli_ses.curve25519_param->priv, CURVE25519_LEN); 82 buf_putstring(ses.writepayload, cli_ses.curve25519_param->pub, CURVE25519_LEN);
83 #endif 83 #endif
84 break; 84 break;
85 } 85 }
86 86
87 cli_ses.param_kex_algo = ses.newkeys->algo_kex; 87 cli_ses.param_kex_algo = ses.newkeys->algo_kex;