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

Diff for /src/usr.bin/ssh/authfile.h between version 1.1 and 1.1.2.2

version 1.1, 2000/04/26 20:56:30 version 1.1.2.2, 2001/03/12 15:44:08
Line 1 
Line 1 
   /*
    * Author: Tatu Ylonen <ylo@cs.hut.fi>
    * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
    *                    All rights reserved
    * Functions to interface with the SSH_AUTHENTICATION_FD socket.
    *
    * As far as I am concerned, the code I have written for this software
    * can be used freely for any purpose.  Any derived versions of this
    * software must be clearly marked as such, and if the derived work is
    * incompatible with the protocol description in the RFC file, it must be
    * called by a name other than "ssh" or "Secure Shell".
    */
   
   /* $OpenBSD$ */
   
 #ifndef AUTHFILE_H  #ifndef AUTHFILE_H
 #define AUTHFILE_H  #define AUTHFILE_H
   
   
 /*  /*
  * Saves the authentication (private) key in a file, encrypting it with   * Saves the authentication (private) key in a file, encrypting it with
  * passphrase.   * passphrase.
Line 18 
Line 34 
  * comment of the key is returned in comment_return if it is non-NULL; the   * comment of the key is returned in comment_return if it is non-NULL; the
  * caller must free the value with xfree.   * caller must free the value with xfree.
  */   */
 int  int load_public_key(const char *filename, Key * pub, char **comment_return);
 load_public_key(const char *filename, Key * pub,  int try_load_public_key(const char *filename, Key * pub, char **comment_return);
     char **comment_return);  
   
 /*  /*
  * Loads the private key from the file.  Returns 0 if an error is encountered   * Loads the private key from the file.  Returns 0 if an error is encountered

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.2