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

Diff for /src/usr.bin/ssh/authfd.c between version 1.17 and 1.18

version 1.17, 2000/04/12 09:39:09 version 1.18, 2000/04/14 10:30:29
Line 1 
Line 1 
 /*  /*
  *   *
  * authfd.c   * authfd.c
  *   *
  * 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:30:28 1995 ylo   * Created: Wed Mar 29 01:30:28 1995 ylo
  *   *
  * Functions for connecting the local authentication agent.   * Functions for connecting the local authentication agent.
  *   *
  */   */
   
 #include "includes.h"  #include "includes.h"
Line 64 
Line 64 
  * ssh_get_authentication_socket().   * ssh_get_authentication_socket().
  */   */
   
 void  void
 ssh_close_authentication_socket(int sock)  ssh_close_authentication_socket(int sock)
 {  {
         if (getenv(SSH_AUTHSOCKET_ENV_NAME))          if (getenv(SSH_AUTHSOCKET_ENV_NAME))
Line 108 
Line 108 
  * memory.   * memory.
  */   */
   
 void  void
 ssh_close_authentication_connection(AuthenticationConnection *ac)  ssh_close_authentication_connection(AuthenticationConnection *ac)
 {  {
         buffer_free(&ac->packet);          buffer_free(&ac->packet);
Line 338 
Line 338 
  * be used by normal applications.   * be used by normal applications.
  */   */
   
 int  int
 ssh_add_identity(AuthenticationConnection *auth,  ssh_add_identity(AuthenticationConnection *auth,
                  RSA * key, const char *comment)                   RSA * key, const char *comment)
 {  {
Line 426 
Line 426 
  * meant to be used by normal applications.   * meant to be used by normal applications.
  */   */
   
 int  int
 ssh_remove_identity(AuthenticationConnection *auth, RSA *key)  ssh_remove_identity(AuthenticationConnection *auth, RSA *key)
 {  {
         Buffer buffer;          Buffer buffer;
Line 509 
Line 509 
  * by normal applications.   * by normal applications.
  */   */
   
 int  int
 ssh_remove_all_identities(AuthenticationConnection *auth)  ssh_remove_all_identities(AuthenticationConnection *auth)
 {  {
         Buffer buffer;          Buffer buffer;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18