[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.20.2.4 and 1.20.2.5

version 1.20.2.4, 2001/05/07 21:09:29 version 1.20.2.5, 2001/09/27 00:15:42
Line 11 
Line 11 
  * called by a name other than "ssh" or "Secure Shell".   * called by a name other than "ssh" or "Secure Shell".
  *   *
  *   *
  * Copyright (c) 1999,2000 Markus Friedl.  All rights reserved.   * Copyright (c) 1999, 2000 Markus Friedl.  All rights reserved.
  * Copyright (c) 1999 Niels Provos.  All rights reserved.   * Copyright (c) 1999 Niels Provos.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 49 
Line 49 
  * pointer over the key.  Skips any whitespace at the beginning and at end.   * pointer over the key.  Skips any whitespace at the beginning and at end.
  */   */
   
 int  static int
 hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)  hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)
 {  {
         char *cp;          char *cp;
Line 82 
Line 82 
         return ret;          return ret;
 }  }
   
 int  static int
 hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum)  hostfile_check_key(int bits, 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)

Legend:
Removed from v.1.20.2.4  
changed lines
  Added in v.1.20.2.5