comparison svr-session.c @ 1070:16379795f80b pam

Fix merge again. ses.loop_handler is required for PAM
author Matt Johnston <matt@ucc.asn.au>
date Mon, 16 Mar 2015 22:10:30 +0800
parents 2fa71c3b2827
children
comparison
equal deleted inserted replaced
1069:2fa71c3b2827 1070:16379795f80b
134 /* packet handlers */ 134 /* packet handlers */
135 ses.packettypes = svr_packettypes; 135 ses.packettypes = svr_packettypes;
136 136
137 ses.isserver = 1; 137 ses.isserver = 1;
138 138
139 ses.loop_handler = svr_sessionloop;
140
139 /* We're ready to go now */ 141 /* We're ready to go now */
140 sessinitdone = 1; 142 sessinitdone = 1;
141 143
142 /* exchange identification, version etc */ 144 /* exchange identification, version etc */
143 send_session_identification(); 145 send_session_identification();
145 /* start off with key exchange */ 147 /* start off with key exchange */
146 send_msg_kexinit(); 148 send_msg_kexinit();
147 149
148 /* Run the main for loop. NULL is for the dispatcher - only the client 150 /* Run the main for loop. NULL is for the dispatcher - only the client
149 * code makes use of it */ 151 * code makes use of it */
150 session_loop(svr_sessionloop); 152 session_loop();
151 153
152 /* Not reached */ 154 /* Not reached */
153 155
154 } 156 }
155 157