summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/authfd.c b/authfd.c
index 4b647a628..8288ef215 100644
--- a/authfd.c
+++ b/authfd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfd.c,v 1.123 2020/03/06 18:24:39 markus Exp $ */ 1/* $OpenBSD: authfd.c,v 1.124 2020/06/26 05:03:36 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -336,7 +336,7 @@ ssh_free_identitylist(struct ssh_identitylist *idl)
336 * Returns 0 if found, or a negative SSH_ERR_* error code on failure. 336 * Returns 0 if found, or a negative SSH_ERR_* error code on failure.
337 */ 337 */
338int 338int
339ssh_agent_has_key(int sock, struct sshkey *key) 339ssh_agent_has_key(int sock, const struct sshkey *key)
340{ 340{
341 int r, ret = SSH_ERR_KEY_NOT_FOUND; 341 int r, ret = SSH_ERR_KEY_NOT_FOUND;
342 size_t i; 342 size_t i;
@@ -534,7 +534,7 @@ ssh_add_identity_constrained(int sock, struct sshkey *key,
534 * This call is intended only for use by ssh-add(1) and like applications. 534 * This call is intended only for use by ssh-add(1) and like applications.
535 */ 535 */
536int 536int
537ssh_remove_identity(int sock, struct sshkey *key) 537ssh_remove_identity(int sock, const struct sshkey *key)
538{ 538{
539 struct sshbuf *msg; 539 struct sshbuf *msg;
540 int r; 540 int r;