version 1.512, 2018/07/11 18:53:29 |
version 1.513, 2018/07/31 03:07:24 |
|
|
int r; |
int r; |
|
|
myproposal[PROPOSAL_KEX_ALGS] = compat_kex_proposal( |
myproposal[PROPOSAL_KEX_ALGS] = compat_kex_proposal( |
options.kex_algorithms); |
options.kex_algorithms, datafellows); |
myproposal[PROPOSAL_ENC_ALGS_CTOS] = compat_cipher_proposal( |
myproposal[PROPOSAL_ENC_ALGS_CTOS] = compat_cipher_proposal( |
options.ciphers); |
options.ciphers, datafellows); |
myproposal[PROPOSAL_ENC_ALGS_STOC] = compat_cipher_proposal( |
myproposal[PROPOSAL_ENC_ALGS_STOC] = compat_cipher_proposal( |
options.ciphers); |
options.ciphers, datafellows); |
myproposal[PROPOSAL_MAC_ALGS_CTOS] = |
myproposal[PROPOSAL_MAC_ALGS_CTOS] = |
myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs; |
myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs; |
|
|
|
|
options.rekey_interval); |
options.rekey_interval); |
|
|
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = compat_pkalg_proposal( |
myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = compat_pkalg_proposal( |
list_hostkey_types()); |
list_hostkey_types(), datafellows); |
|
|
/* start key exchange */ |
/* start key exchange */ |
if ((r = kex_setup(active_state, myproposal)) != 0) |
if ((r = kex_setup(active_state, myproposal)) != 0) |