comparison cli-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
49 cli_ses.dh_param = gen_kexdh_param(); 49 cli_ses.dh_param = gen_kexdh_param();
50 buf_putmpint(ses.writepayload, &cli_ses.dh_param->pub); 50 buf_putmpint(ses.writepayload, &cli_ses.dh_param->pub);
51 } else { 51 } else {
52 #ifdef DROPBEAR_ECDH 52 #ifdef DROPBEAR_ECDH
53 cli_ses.ecdh_param = gen_kexecdh_param(); 53 cli_ses.ecdh_param = gen_kexecdh_param();
54 buf_put_ecc_pubkey_string(ses.writepayload, &cli_ses.ecdh_param->key); 54 buf_put_ecc_raw_pubkey_string(ses.writepayload, &cli_ses.ecdh_param->key);
55 #endif 55 #endif
56 } 56 }
57 encrypt_packet(); 57 encrypt_packet();
58 ses.requirenext = SSH_MSG_KEXDH_REPLY; 58 ses.requirenext = SSH_MSG_KEXDH_REPLY;
59 } 59 }