comparison svr-kex.c @ 1129:45830474d83c coverity

merge up to date, attempt to fix travis.yml
author Matt Johnston <matt@ucc.asn.au>
date Fri, 12 Jun 2015 23:02:15 +0800
parents aaf576b27a10
children c8f52c19e949
comparison
equal deleted inserted replaced
1077:26c1f9b8f82e 1129:45830474d83c
245 case DROPBEAR_KEX_CURVE25519: 245 case DROPBEAR_KEX_CURVE25519:
246 #ifdef DROPBEAR_CURVE25519 246 #ifdef DROPBEAR_CURVE25519
247 { 247 {
248 struct kex_curve25519_param *param = gen_kexcurve25519_param(); 248 struct kex_curve25519_param *param = gen_kexcurve25519_param();
249 kexcurve25519_comb_key(param, ecdh_qs, svr_opts.hostkey); 249 kexcurve25519_comb_key(param, ecdh_qs, svr_opts.hostkey);
250 buf_putstring(ses.writepayload, param->pub, CURVE25519_LEN); 250 buf_putstring(ses.writepayload, (const char*)param->pub, CURVE25519_LEN);
251 free_kexcurve25519_param(param); 251 free_kexcurve25519_param(param);
252 } 252 }
253 #endif 253 #endif
254 break; 254 break;
255 } 255 }