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

Diff for /src/usr.bin/ssh/hostfile.c between version 1.21 and 1.22

version 1.21, 2000/11/12 19:50:37 version 1.22, 2000/12/19 23:17:56
Line 52 
Line 52 
  */   */
   
 int  int
 hostfile_read_key(char **cpp, unsigned int *bitsp, Key *ret)  hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)
 {  {
         char *cp;          char *cp;
   
Line 74 
Line 74 
 }  }
   
 int  int
 auth_rsa_read_key(char **cpp, unsigned int *bitsp, BIGNUM * e, BIGNUM * n)  auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n)
 {  {
         Key *k = key_new(KEY_RSA1);          Key *k = key_new(KEY_RSA1);
         int ret = hostfile_read_key(cpp, bitsp, k);          int ret = hostfile_read_key(cpp, bitsp, k);
Line 112 
Line 112 
         FILE *f;          FILE *f;
         char line[8192];          char line[8192];
         int linenum = 0;          int linenum = 0;
         unsigned int kbits, hostlen;          u_int kbits, hostlen;
         char *cp, *cp2;          char *cp, *cp2;
         HostStatus end_return;          HostStatus end_return;
   
Line 149 
Line 149 
                         ;                          ;
   
                 /* Check if the host name matches. */                  /* Check if the host name matches. */
                 if (match_hostname(host, cp, (unsigned int) (cp2 - cp)) != 1)                  if (match_hostname(host, cp, (u_int) (cp2 - cp)) != 1)
                         continue;                          continue;
   
                 /* Got a match.  Skip host name. */                  /* Got a match.  Skip host name. */

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22