[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.123 and 1.124

version 1.123, 2020/03/06 18:24:39 version 1.124, 2020/06/26 05:03:36
Line 335 
Line 335 
  * Returns 0 if found, or a negative SSH_ERR_* error code on failure.   * Returns 0 if found, or a negative SSH_ERR_* error code on failure.
  */   */
 int  int
 ssh_agent_has_key(int sock, struct sshkey *key)  ssh_agent_has_key(int sock, const struct sshkey *key)
 {  {
         int r, ret = SSH_ERR_KEY_NOT_FOUND;          int r, ret = SSH_ERR_KEY_NOT_FOUND;
         size_t i;          size_t i;
Line 533 
Line 533 
  * This call is intended only for use by ssh-add(1) and like applications.   * This call is intended only for use by ssh-add(1) and like applications.
  */   */
 int  int
 ssh_remove_identity(int sock, struct sshkey *key)  ssh_remove_identity(int sock, const struct sshkey *key)
 {  {
         struct sshbuf *msg;          struct sshbuf *msg;
         int r;          int r;

Legend:
Removed from v.1.123  
changed lines
  Added in v.1.124