[BACK]Return to sshconnect2.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.89 and 1.90

version 1.89, 2001/12/20 22:50:24 version 1.90, 2001/12/28 12:14:27
Line 247 
Line 247 
         } else {          } else {
                 debug("buggy server: service_accept w/o service");                  debug("buggy server: service_accept w/o service");
         }          }
         packet_done();          packet_check_eom();
         debug("got SSH2_MSG_SERVICE_ACCEPT");          debug("got SSH2_MSG_SERVICE_ACCEPT");
   
         if (options.preferred_authentications == NULL)          if (options.preferred_authentications == NULL)
Line 347 
Line 347 
   
         authlist = packet_get_string(NULL);          authlist = packet_get_string(NULL);
         partial = packet_get_char();          partial = packet_get_char();
         packet_done();          packet_check_eom();
   
         if (partial != 0)          if (partial != 0)
                 log("Authenticated with partial success.");                  log("Authenticated with partial success.");
Line 379 
Line 379 
                 pkalg = packet_get_string(&alen);                  pkalg = packet_get_string(&alen);
                 pkblob = packet_get_string(&blen);                  pkblob = packet_get_string(&blen);
         }          }
         packet_done();          packet_check_eom();
   
         debug("input_userauth_pk_ok: pkalg %s blen %d lastkey %p hint %d",          debug("input_userauth_pk_ok: pkalg %s blen %d lastkey %p hint %d",
             pkalg, blen, authctxt->last_key, authctxt->last_key_hint);              pkalg, blen, authctxt->last_key, authctxt->last_key_hint);
Line 815 
Line 815 
                 xfree(response);                  xfree(response);
                 xfree(prompt);                  xfree(prompt);
         }          }
         packet_done(); /* done with parsing incoming message. */          packet_check_eom(); /* done with parsing incoming message. */
   
         packet_add_padding(64);          packet_add_padding(64);
         packet_send();          packet_send();

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90