comparison cli-session.c @ 741:eafdf8b363f5 kexguess

Get rid of client/server specific buf_match_algo, use single function with a couple of if statements instead
author Matt Johnston <matt@ucc.asn.au>
date Sat, 30 Mar 2013 23:55:05 +0800
parents d44325108d0e
children cd201dc2da9a
comparison
equal deleted inserted replaced
740:3062da90dab8 741:eafdf8b363f5
146 cli_ses.cipher_none_after_auth = 0; 146 cli_ses.cipher_none_after_auth = 0;
147 #endif 147 #endif
148 148
149 /* For printing "remote host closed" for the user */ 149 /* For printing "remote host closed" for the user */
150 ses.remoteclosed = cli_remoteclosed; 150 ses.remoteclosed = cli_remoteclosed;
151 ses.buf_match_algo = cli_buf_match_algo;
152 151
153 /* packet handlers */ 152 /* packet handlers */
154 ses.packettypes = cli_packettypes; 153 ses.packettypes = cli_packettypes;
155 154
156 ses.isserver = 0; 155 ses.isserver = 0;