Mercurial > dropbear
comparison svr-kex.c @ 765:5503e05ab3a4 ecc
- Rename buf_put_ecc_pubkey_string() to buf_put_ecc_raw_pubkey_string()
- Reindent ecc.c properly
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 08 Apr 2013 23:56:31 +0800 |
parents | ac2158e3e403 |
children | 7dcb46da72d9 |
comparison
equal
deleted
inserted
replaced
764:2202e854d187 | 765:5503e05ab3a4 |
---|---|
102 } else { | 102 } else { |
103 #ifdef DROPBEAR_ECDH | 103 #ifdef DROPBEAR_ECDH |
104 struct kex_ecdh_param *ecdh_param = gen_kexecdh_param(); | 104 struct kex_ecdh_param *ecdh_param = gen_kexecdh_param(); |
105 kexecdh_comb_key(ecdh_param, ecdh_qs, svr_opts.hostkey); | 105 kexecdh_comb_key(ecdh_param, ecdh_qs, svr_opts.hostkey); |
106 | 106 |
107 buf_put_ecc_pubkey_string(ses.writepayload, &ecdh_param->key); | 107 buf_put_ecc_raw_pubkey_string(ses.writepayload, &ecdh_param->key); |
108 free_kexecdh_param(ecdh_param); | 108 free_kexecdh_param(ecdh_param); |
109 #endif | 109 #endif |
110 } | 110 } |
111 | 111 |
112 /* calc the signature */ | 112 /* calc the signature */ |