[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.64 and 1.65

version 1.64, 2001/04/04 09:48:35 version 1.65, 2001/04/04 14:34:58
Line 111 
Line 111 
                 myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs;                  myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs;
         }          }
   
           /* start key exchange */
         kex = kex_setup(myproposal);          kex = kex_setup(myproposal);
         kex->client_version_string=client_version_string;          kex->client_version_string=client_version_string;
         kex->server_version_string=server_version_string;          kex->server_version_string=server_version_string;
Line 118 
Line 119 
   
         xxx_kex = kex;          xxx_kex = kex;
   
         /* start key exchange */  
         dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex);          dispatch_run(DISPATCH_BLOCK, &kex->newkeys, kex);
   
         session_id2 = kex->session_id;          session_id2 = kex->session_id;
Line 213 
Line 213 
         Authctxt authctxt;          Authctxt authctxt;
         int type;          int type;
         int plen;          int plen;
         int i;  
   
         if (options.challenge_reponse_authentication)          if (options.challenge_reponse_authentication)
                 options.kbd_interactive_authentication = 1;                  options.kbd_interactive_authentication = 1;
Line 254 
Line 253 
         /* initial userauth request */          /* initial userauth request */
         userauth_none(&authctxt);          userauth_none(&authctxt);
   
         /* dispatch_init(&input_userauth_error); */          dispatch_init(&input_userauth_error);
         for (i = 50; i <= 254; i++) {  
                 dispatch_set(i, &input_userauth_error);  
         }  
         dispatch_set(SSH2_MSG_USERAUTH_SUCCESS, &input_userauth_success);          dispatch_set(SSH2_MSG_USERAUTH_SUCCESS, &input_userauth_success);
         dispatch_set(SSH2_MSG_USERAUTH_FAILURE, &input_userauth_failure);          dispatch_set(SSH2_MSG_USERAUTH_FAILURE, &input_userauth_failure);
         dispatch_set(SSH2_MSG_USERAUTH_BANNER, &input_userauth_banner);          dispatch_set(SSH2_MSG_USERAUTH_BANNER, &input_userauth_banner);

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65