diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-02-10 09:25:34 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-02-10 20:26:40 +1100 |
commit | d9e5cf078ea5380da6df767bb1773802ec557ef0 (patch) | |
tree | 22ddb85f348a21fbd762b084bd4aab65c2ff221a /authfd.h | |
parent | a7c38215d564bf98e8e9eb40c1079e3adf686f15 (diff) |
upstream commit
constify some private key-related functions; based on
https://github.com/openssh/openssh-portable/pull/56 by Vincent Brillault
OpenBSD-Commit-ID: dcb94a41834a15f4d00275cb5051616fdc4c988c
Diffstat (limited to 'authfd.h')
-rw-r--r-- | authfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfd.h,v 1.41 2017/06/28 01:09:22 djm Exp $ */ | 1 | /* $OpenBSD: authfd.h,v 1.42 2018/02/10 09:25:34 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -29,7 +29,7 @@ void ssh_close_authentication_socket(int sock); | |||
29 | int ssh_lock_agent(int sock, int lock, const char *password); | 29 | int ssh_lock_agent(int sock, int lock, const char *password); |
30 | int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); | 30 | int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp); |
31 | void ssh_free_identitylist(struct ssh_identitylist *idl); | 31 | void ssh_free_identitylist(struct ssh_identitylist *idl); |
32 | int ssh_add_identity_constrained(int sock, struct sshkey *key, | 32 | int ssh_add_identity_constrained(int sock, const struct sshkey *key, |
33 | const char *comment, u_int life, u_int confirm); | 33 | const char *comment, u_int life, u_int confirm); |
34 | int ssh_remove_identity(int sock, struct sshkey *key); | 34 | int ssh_remove_identity(int sock, struct sshkey *key); |
35 | int ssh_update_card(int sock, int add, const char *reader_id, | 35 | int ssh_update_card(int sock, int add, const char *reader_id, |