mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Get rid of client/server specific buf_match_algo, use single
function with a couple of if statements instead --HG-- branch : kexguess
This commit is contained in:
@@ -169,13 +169,6 @@ struct sshsession {
|
||||
concluded (ie, while dataallowed was unset)*/
|
||||
struct packetlist *reply_queue_head, *reply_queue_tail;
|
||||
|
||||
algo_type*(*buf_match_algo)(buffer*buf, algo_type localalgos[],
|
||||
enum kexguess2_used *kexguess2,
|
||||
int *goodguess); /* The function to use to choose which algorithm
|
||||
to use from the ones presented by the remote
|
||||
side. Is specific to the client/server mode,
|
||||
hence the function-pointer callback.*/
|
||||
|
||||
void(*remoteclosed)(); /* A callback to handle closure of the
|
||||
remote connection */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user