[BACK]Return to authfd.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / external / bsd / openssh / dist

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/crypto/external/bsd/openssh/dist/authfd.c between version 1.20 and 1.21

version 1.20, 2020/02/27 00:24:40 version 1.21, 2020/05/28 17:05:49
Line 1 
Line 1 
 /*      $NetBSD$        */  /*      $NetBSD$        */
 /* $OpenBSD: authfd.c,v 1.121 2019/12/21 02:19:13 djm Exp $ */  /* $OpenBSD: authfd.c,v 1.123 2020/03/06 18:24:39 markus Exp $ */
 /*  /*
  * 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
Line 343  ssh_agent_has_key(int sock, struct sshke
Line 343  ssh_agent_has_key(int sock, struct sshke
         size_t i;          size_t i;
         struct ssh_identitylist *idlist = NULL;          struct ssh_identitylist *idlist = NULL;
   
         if ((r = ssh_fetch_identitylist(sock, &idlist)) < 0) {          if ((r = ssh_fetch_identitylist(sock, &idlist)) != 0) {
                 return r;                  return r;
         }          }
   
Line 562  ssh_remove_identity(int sock, struct ssh
Line 562  ssh_remove_identity(int sock, struct ssh
                 goto out;                  goto out;
         r = decode_reply(type);          r = decode_reply(type);
  out:   out:
         if (blob != NULL) {          if (blob != NULL)
                 explicit_bzero(blob, blen);                  freezero(blob, blen);
                 free(blob);  
         }  
         sshbuf_free(msg);          sshbuf_free(msg);
         return r;          return r;
 }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb <webmaster@jp.NetBSD.org>