[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.31 and 1.32

version 1.31, 2003/04/08 20:21:28 version 1.32, 2003/11/10 16:23:41
Line 72 
Line 72 
 }  }
   
 static int  static int
 hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum)  hostfile_check_key(int bits, const Key *key, const char *host, const char *filename, int linenum)
 {  {
         if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)          if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)
                 return 1;                  return 1;
Line 98 
Line 98 
   
 static HostStatus  static HostStatus
 check_host_in_hostfile_by_key_or_type(const char *filename,  check_host_in_hostfile_by_key_or_type(const char *filename,
     const char *host, Key *key, int keytype, Key *found, int *numret)      const char *host, const Key *key, int keytype, Key *found, int *numret)
 {  {
         FILE *f;          FILE *f;
         char line[8192];          char line[8192];
Line 188 
Line 188 
 }  }
   
 HostStatus  HostStatus
 check_host_in_hostfile(const char *filename, const char *host, Key *key,  check_host_in_hostfile(const char *filename, const char *host, const Key *key,
     Key *found, int *numret)      Key *found, int *numret)
 {  {
         if (key == NULL)          if (key == NULL)
Line 211 
Line 211 
  */   */
   
 int  int
 add_host_to_hostfile(const char *filename, const char *host, Key *key)  add_host_to_hostfile(const char *filename, const char *host, const Key *key)
 {  {
         FILE *f;          FILE *f;
         int success = 0;          int success = 0;

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