comparison svr-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 167fdc091c05
children cd201dc2da9a
comparison
equal deleted inserted replaced
740:3062da90dab8 741:eafdf8b363f5
104 /* set up messages etc */ 104 /* set up messages etc */
105 ses.remoteclosed = svr_remoteclosed; 105 ses.remoteclosed = svr_remoteclosed;
106 106
107 /* packet handlers */ 107 /* packet handlers */
108 ses.packettypes = svr_packettypes; 108 ses.packettypes = svr_packettypes;
109 ses.buf_match_algo = svr_buf_match_algo;
110 109
111 ses.isserver = 1; 110 ses.isserver = 1;
112 111
113 /* We're ready to go now */ 112 /* We're ready to go now */
114 sessinitdone = 1; 113 sessinitdone = 1;