comparison cli-session.c @ 1676:d5cdc60db08e

ext-info handling for server-sig-algs only client side is handled
author Matt Johnston <matt@ucc.asn.au>
date Tue, 19 May 2020 00:31:41 +0800
parents 79eef94ccea9
children 83d48276885b
comparison
equal deleted inserted replaced
1675:ae41624c2198 1676:d5cdc60db08e
79 #else 79 #else
80 /* For keepalive */ 80 /* For keepalive */
81 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response}, 81 {SSH_MSG_REQUEST_SUCCESS, ignore_recv_response},
82 {SSH_MSG_REQUEST_FAILURE, ignore_recv_response}, 82 {SSH_MSG_REQUEST_FAILURE, ignore_recv_response},
83 #endif 83 #endif
84 {SSH_MSG_EXT_INFO, recv_msg_ext_info},
84 {0, NULL} /* End */ 85 {0, NULL} /* End */
85 }; 86 };
86 87
87 static const struct ChanType *cli_chantypes[] = { 88 static const struct ChanType *cli_chantypes[] = {
88 #if DROPBEAR_CLI_REMOTETCPFWD 89 #if DROPBEAR_CLI_REMOTETCPFWD
350 (void)fcntl(cli_ses.stdincopy, F_SETFL, cli_ses.stdinflags); 351 (void)fcntl(cli_ses.stdincopy, F_SETFL, cli_ses.stdinflags);
351 (void)fcntl(cli_ses.stdoutcopy, F_SETFL, cli_ses.stdoutflags); 352 (void)fcntl(cli_ses.stdoutcopy, F_SETFL, cli_ses.stdoutflags);
352 (void)fcntl(cli_ses.stderrcopy, F_SETFL, cli_ses.stderrflags); 353 (void)fcntl(cli_ses.stderrcopy, F_SETFL, cli_ses.stderrflags);
353 354
354 cli_tty_cleanup(); 355 cli_tty_cleanup();
355 356 if (cli_ses.server_sig_algs) {
357 buf_free(cli_ses.server_sig_algs);
358 }
356 } 359 }
357 360
358 static void cli_finished() { 361 static void cli_finished() {
359 TRACE(("cli_finised()")) 362 TRACE(("cli_finised()"))
360 363