[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.7.2.2 and 1.7.2.3

version 1.7.2.2, 2000/11/08 21:30:26 version 1.7.2.3, 2001/03/12 15:44:08
Line 51 
Line 51 
 }       AuthenticationConnection;  }       AuthenticationConnection;
   
 /* Returns the number of the authentication fd, or -1 if there is none. */  /* Returns the number of the authentication fd, or -1 if there is none. */
 int     ssh_get_authentication_socket();  int     ssh_get_authentication_socket(void);
   
 /*  /*
  * This should be called for any descriptor returned by   * This should be called for any descriptor returned by
Line 66 
Line 66 
  * connection could not be opened.  The connection should be closed by the   * connection could not be opened.  The connection should be closed by the
  * caller by calling ssh_close_authentication_connection().   * caller by calling ssh_close_authentication_connection().
  */   */
 AuthenticationConnection *ssh_get_authentication_connection();  AuthenticationConnection *ssh_get_authentication_connection(void);
   
 /*  /*
  * Closes the connection to the authentication agent and frees any associated   * Closes the connection to the authentication agent and frees any associated
Line 75 
Line 75 
 void    ssh_close_authentication_connection(AuthenticationConnection *auth);  void    ssh_close_authentication_connection(AuthenticationConnection *auth);
   
 /*  /*
    * Returns the number authentication identity held by the agent.
    */
   int     ssh_get_num_identities(AuthenticationConnection *auth, int version);
   
   /*
  * Returns the first authentication identity held by the agent or NULL if   * Returns the first authentication identity held by the agent or NULL if
  * no identies are available. Caller must free comment and key.   * no identies are available. Caller must free comment and key.
  * Note that you cannot mix calls with different versions.   * Note that you cannot mix calls with different versions.
Line 96 
Line 101 
 int  int
 ssh_decrypt_challenge(AuthenticationConnection *auth,  ssh_decrypt_challenge(AuthenticationConnection *auth,
     Key *key, BIGNUM * challenge,      Key *key, BIGNUM * challenge,
     unsigned char session_id[16],      u_char session_id[16],
     unsigned int response_type,      u_int response_type,
     unsigned char response[16]);      u_char response[16]);
   
 /* Requests the agent to sign data using key */  /* Requests the agent to sign data using key */
 int  int
 ssh_agent_sign(AuthenticationConnection *auth,  ssh_agent_sign(AuthenticationConnection *auth,
     Key *key,      Key *key,
     unsigned char **sigp, int *lenp,      u_char **sigp, int *lenp,
     unsigned char *data, int datalen);      u_char *data, int datalen);
   
 /*  /*
  * Adds an identity to the authentication server.  This call is not meant to   * Adds an identity to the authentication server.  This call is not meant to

Legend:
Removed from v.1.7.2.2  
changed lines
  Added in v.1.7.2.3