diff options
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 | */ |
338 | int | 338 | int |
339 | ssh_agent_has_key(int sock, struct sshkey *key) | 339 | ssh_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 | */ |
536 | int | 536 | int |
537 | ssh_remove_identity(int sock, struct sshkey *key) | 537 | ssh_remove_identity(int sock, const struct sshkey *key) |
538 | { | 538 | { |
539 | struct sshbuf *msg; | 539 | struct sshbuf *msg; |
540 | int r; | 540 | int r; |