summaryrefslogtreecommitdiffstats
path: root/authfd.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-02-10 10:25:34 +0100
committerDamien Miller <djm@mindrot.org>2018-02-10 10:26:40 +0100
commitd9e5cf078ea5380da6df767bb1773802ec557ef0 (patch)
tree22ddb85f348a21fbd762b084bd4aab65c2ff221a /authfd.h
parentupstream commit (diff)
downloadopenssh-d9e5cf078ea5380da6df767bb1773802ec557ef0.tar.xz
openssh-d9e5cf078ea5380da6df767bb1773802ec557ef0.zip
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfd.h b/authfd.h
index 43abf85da..41997ce6d 100644
--- a/authfd.h
+++ b/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,