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

Diff for /src/usr.bin/ssh/authfd.h between version 1.6 and 1.7

version 1.6, 1999/11/24 19:53:44 version 1.7, 2000/04/14 10:30:30
Line 1 
Line 1 
 /*  /*
  *   *
  * authfd.h   * authfd.h
  *   *
  * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Author: Tatu Ylonen <ylo@cs.hut.fi>
  *   *
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved   *                    All rights reserved
  *   *
  * Created: Wed Mar 29 01:17:41 1995 ylo   * Created: Wed Mar 29 01:17:41 1995 ylo
  *   *
  * Functions to interface with the SSH_AUTHENTICATION_FD socket.   * Functions to interface with the SSH_AUTHENTICATION_FD socket.
  *   *
  */   */
   
 /* RCSID("$Id$"); */  /* RCSID("$Id$"); */
Line 67 
Line 67 
  * integers before the call, and free the comment after a successful call   * integers before the call, and free the comment after a successful call
  * (before calling ssh_get_next_identity).   * (before calling ssh_get_next_identity).
  */   */
 int  int
 ssh_get_first_identity(AuthenticationConnection * connection,  ssh_get_first_identity(AuthenticationConnection * connection,
     BIGNUM * e, BIGNUM * n, char **comment);      BIGNUM * e, BIGNUM * n, char **comment);
   
Line 77 
Line 77 
  * function.  This returns 0 if there are no more identities.  The caller   * function.  This returns 0 if there are no more identities.  The caller
  * must free comment after a successful return.   * must free comment after a successful return.
  */   */
 int  int
 ssh_get_next_identity(AuthenticationConnection * connection,  ssh_get_next_identity(AuthenticationConnection * connection,
     BIGNUM * e, BIGNUM * n, char **comment);      BIGNUM * e, BIGNUM * n, char **comment);
   
 /* Requests the agent to decrypt the given challenge.  Returns true if  /* Requests the agent to decrypt the given challenge.  Returns true if
    the agent claims it was able to decrypt it. */     the agent claims it was able to decrypt it. */
 int  int
 ssh_decrypt_challenge(AuthenticationConnection * auth,  ssh_decrypt_challenge(AuthenticationConnection * auth,
     BIGNUM * e, BIGNUM * n, BIGNUM * challenge,      BIGNUM * e, BIGNUM * n, BIGNUM * challenge,
     unsigned char session_id[16],      unsigned char session_id[16],
Line 95 
Line 95 
  * be used by normal applications.  This returns true if the identity was   * be used by normal applications.  This returns true if the identity was
  * successfully added.   * successfully added.
  */   */
 int  int
 ssh_add_identity(AuthenticationConnection * connection, RSA * key,  ssh_add_identity(AuthenticationConnection * connection, RSA * key,
     const char *comment);      const char *comment);
   

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7