diff 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
line wrap: on
line diff
--- a/svr-session.c	Fri Mar 29 23:29:48 2013 +0800
+++ b/svr-session.c	Sat Mar 30 23:55:05 2013 +0800
@@ -106,7 +106,6 @@
 
 	/* packet handlers */
 	ses.packettypes = svr_packettypes;
-	ses.buf_match_algo = svr_buf_match_algo;
 
 	ses.isserver = 1;