[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.41 and 1.42

version 1.41, 2001/06/23 15:12:17 version 1.42, 2001/06/26 04:59:59
Line 532 
Line 532 
         return decode_reply(type);          return decode_reply(type);
 }  }
   
   int
   ssh_update_card(AuthenticationConnection *auth, int add, int reader_id)
   {
           Buffer msg;
           int type;
   
           buffer_init(&msg);
           buffer_put_char(&msg, add ? SSH_AGENTC_ADD_SMARTCARD_KEY :
               SSH_AGENTC_REMOVE_SMARTCARD_KEY);
           buffer_put_int(&msg, reader_id);
           if (ssh_request_reply(auth, &msg, &msg) == 0) {
                   buffer_free(&msg);
                   return 0;
           }
           type = buffer_get_char(&msg);
           buffer_free(&msg);
           return decode_reply(type);
   }
   
 /*  /*
  * Removes all identities from the agent.  This call is not meant to be used   * Removes all identities from the agent.  This call is not meant to be used
  * by normal applications.   * by normal applications.

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42