summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/authfd.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2018-02-10 09:25:36 +0000
committerDamien Miller <djm@cvs.openbsd.org>2018-02-10 09:25:36 +0000
commit0812ba19e82d0f97372df2a772cbaa8cce0ea1e3 (patch)
tree2cfd2e0d8f1ba5e87fbd56fd282068331a2d7b0b /usr.bin/ssh/authfd.h
parente2db566db388585878f3288df128f4dfd5680b0d (diff)
constify some private key-related functions; based on
https://github.com/openssh/openssh-portable/pull/56 by Vincent Brillault
Diffstat (limited to 'usr.bin/ssh/authfd.h')
-rw-r--r--usr.bin/ssh/authfd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/authfd.h b/usr.bin/ssh/authfd.h
index 43abf85dadf..41997ce6d29 100644
--- a/usr.bin/ssh/authfd.h
+++ b/usr.bin/ssh/authfd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: authfd.h,v 1.41 2017/06/28 01:09:22 djm Exp $ */
+/* $OpenBSD: authfd.h,v 1.42 2018/02/10 09:25:34 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -29,7 +29,7 @@ void ssh_close_authentication_socket(int sock);
int ssh_lock_agent(int sock, int lock, const char *password);
int ssh_fetch_identitylist(int sock, struct ssh_identitylist **idlp);
void ssh_free_identitylist(struct ssh_identitylist *idl);
-int ssh_add_identity_constrained(int sock, struct sshkey *key,
+int ssh_add_identity_constrained(int sock, const struct sshkey *key,
const char *comment, u_int life, u_int confirm);
int ssh_remove_identity(int sock, struct sshkey *key);
int ssh_update_card(int sock, int add, const char *reader_id,