summaryrefslogtreecommitdiff
path: root/krl.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-04-03 02:26:56 +0000
committerDamien Miller <djm@mindrot.org>2020-04-03 13:33:25 +1100
commit6ec7457171468da2bbd908b8cd63d298b0e049ea (patch)
treec61f384cbaa6cadb2c0b9de7632ef986f016e489 /krl.h
parentaf628b8a6c3ef403644d83d205c80ff188c97f0c (diff)
upstream: give ssh-keygen the ability to dump the contents of a
binary key revocation list: ssh-keygen -lQf /path bz#3132; ok dtucker OpenBSD-Commit-ID: b76afc4e3b74ab735dbde4e5f0cfa1f02356033b
Diffstat (limited to 'krl.h')
-rw-r--r--krl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/krl.h b/krl.h
index ce534a111..ca6d3f284 100644
--- a/krl.h
+++ b/krl.h
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.h,v 1.7 2019/06/21 04:21:04 djm Exp $ */ 17/* $OpenBSD: krl.h,v 1.8 2020/04/03 02:26:56 djm Exp $ */
18 18
19#ifndef _KRL_H 19#ifndef _KRL_H
20#define _KRL_H 20#define _KRL_H
@@ -61,6 +61,7 @@ int ssh_krl_from_blob(struct sshbuf *buf, struct ssh_krl **krlp,
61 const struct sshkey **sign_ca_keys, size_t nsign_ca_keys); 61 const struct sshkey **sign_ca_keys, size_t nsign_ca_keys);
62int ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key); 62int ssh_krl_check_key(struct ssh_krl *krl, const struct sshkey *key);
63int ssh_krl_file_contains_key(const char *path, const struct sshkey *key); 63int ssh_krl_file_contains_key(const char *path, const struct sshkey *key);
64int krl_dump(struct ssh_krl *krl, FILE *f);
64 65
65#endif /* _KRL_H */ 66#endif /* _KRL_H */
66 67