comparison cli-kex.c @ 1122:aaf576b27a10

Merge pull request #13 from gazoo74/fix-warnings Fix warnings
author Matt Johnston <matt@ucc.asn.au>
date Thu, 04 Jun 2015 23:08:50 +0800
parents c45d65392c1a
children 6aeadee3f16b
comparison
equal deleted inserted replaced
1087:1e486f368ec3 1122:aaf576b27a10
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->pub, CURVE25519_LEN); 82 buf_putstring(ses.writepayload, (const char*)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;