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

Diff for /src/usr.bin/ssh/Attic/sshconnect1.c between version 1.32 and 1.33

version 1.32, 2001/05/18 14:13:29 version 1.33, 2001/06/07 20:23:05
Line 332 
Line 332 
   
         /* Tell the server that we are willing to authenticate using this key. */          /* Tell the server that we are willing to authenticate using this key. */
         packet_start(SSH_CMSG_AUTH_RHOSTS_RSA);          packet_start(SSH_CMSG_AUTH_RHOSTS_RSA);
         packet_put_string(local_user, strlen(local_user));          packet_put_cstring(local_user);
         packet_put_int(BN_num_bits(host_key->rsa->n));          packet_put_int(BN_num_bits(host_key->rsa->n));
         packet_put_bignum(host_key->rsa->e);          packet_put_bignum(host_key->rsa->e);
         packet_put_bignum(host_key->rsa->n);          packet_put_bignum(host_key->rsa->n);
Line 527 
Line 527 
         xfree(creds);          xfree(creds);
   
         packet_start(SSH_CMSG_HAVE_KERBEROS_TGT);          packet_start(SSH_CMSG_HAVE_KERBEROS_TGT);
         packet_put_string(buffer, strlen(buffer));          packet_put_cstring(buffer);
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
   
Line 594 
Line 594 
                 if (creds_to_radix(&creds, (u_char *) buffer, sizeof buffer) <= 0)                  if (creds_to_radix(&creds, (u_char *) buffer, sizeof buffer) <= 0)
                         break;                          break;
                 packet_start(SSH_CMSG_HAVE_AFS_TOKEN);                  packet_start(SSH_CMSG_HAVE_AFS_TOKEN);
                 packet_put_string(buffer, strlen(buffer));                  packet_put_cstring(buffer);
                 packet_send();                  packet_send();
                 packet_write_wait();                  packet_write_wait();
   
Line 922 
Line 922 
   
         /* Send the name of the user to log in as on the server. */          /* Send the name of the user to log in as on the server. */
         packet_start(SSH_CMSG_USER);          packet_start(SSH_CMSG_USER);
         packet_put_string(server_user, strlen(server_user));          packet_put_cstring(server_user);
         packet_send();          packet_send();
         packet_write_wait();          packet_write_wait();
   
Line 980 
Line 980 
             options.rhosts_authentication) {              options.rhosts_authentication) {
                 debug("Trying rhosts authentication.");                  debug("Trying rhosts authentication.");
                 packet_start(SSH_CMSG_AUTH_RHOSTS);                  packet_start(SSH_CMSG_AUTH_RHOSTS);
                 packet_put_string(local_user, strlen(local_user));                  packet_put_cstring(local_user);
                 packet_send();                  packet_send();
                 packet_write_wait();                  packet_write_wait();
   

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33