Mercurial > dropbear
comparison cli-session.c @ 1683:41bf8f216644
merge rsa-sha256
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 26 May 2020 00:24:02 +0800 |
parents | d5cdc60db08e |
children | 83d48276885b |
comparison
equal
deleted
inserted
replaced
1673:e0871128e61f | 1683:41bf8f216644 |
---|---|
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 |