Mercurial > dropbear
comparison common-algo.c @ 1681:435cfb9ec96e
send and handle SSH_MSG_EXT_INFO only at the correct point
- other fixes for rsa pubkey auth
- only include ext-info handling when rsa pubkey auth is compiled
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 24 May 2020 14:16:58 +0800 |
parents | 4b4cfc92c5b7 |
children | 41bf8f216644 |
comparison
equal
deleted
inserted
replaced
1680:5e763ad6e2e0 | 1681:435cfb9ec96e |
---|---|
311 {"diffie-hellman-group16-sha512", 0, &kex_dh_group16_sha512, 1, NULL}, | 311 {"diffie-hellman-group16-sha512", 0, &kex_dh_group16_sha512, 1, NULL}, |
312 #endif | 312 #endif |
313 #if DROPBEAR_KEXGUESS2 | 313 #if DROPBEAR_KEXGUESS2 |
314 {KEXGUESS2_ALGO_NAME, 0, NULL, 1, NULL}, | 314 {KEXGUESS2_ALGO_NAME, 0, NULL, 1, NULL}, |
315 #endif | 315 #endif |
316 #if DROPBEAR_EXT_INFO | |
316 #if DROPBEAR_CLIENT | 317 #if DROPBEAR_CLIENT |
317 /* Set unusable by svr_algos_initialise() */ | 318 /* Set unusable by svr_algos_initialise() */ |
318 {SSH_EXT_INFO_C, 0, NULL, 1, NULL}, | 319 {SSH_EXT_INFO_C, 0, NULL, 1, NULL}, |
320 #endif | |
319 #endif | 321 #endif |
320 {NULL, 0, NULL, 0, NULL} | 322 {NULL, 0, NULL, 0, NULL} |
321 }; | 323 }; |
322 | 324 |
323 /* Output a comma separated list of algorithms to a buffer */ | 325 /* Output a comma separated list of algorithms to a buffer */ |