version 1.123, 2020/03/06 18:24:39 |
version 1.124, 2020/06/26 05:03:36 |
|
|
* 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; |
|
|
* 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; |