[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.26.2.2 and 1.27

version 1.26.2.2, 2002/03/09 00:20:44 version 1.27, 2001/06/23 15:12:18
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 69 
Line 69 
         *cpp = cp;          *cpp = cp;
         *bitsp = key_size(ret);          *bitsp = key_size(ret);
         return 1;          return 1;
   }
   
   int
   auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n)
   {
           Key *k = key_new(KEY_RSA1);
           int ret = hostfile_read_key(cpp, bitsp, k);
           BN_copy(e, k->rsa->e);
           BN_copy(n, k->rsa->n);
           key_free(k);
           return ret;
 }  }
   
 static int  static int

Legend:
Removed from v.1.26.2.2  
changed lines
  Added in v.1.27