summaryrefslogtreecommitdiff
path: root/authfile.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-01-02 22:38:33 +0000
committerDamien Miller <djm@mindrot.org>2020-01-03 09:41:20 +1100
commit878ba4350d57e905d6bb1865d8ff31bdfe5deab4 (patch)
tree00a528e2edf29a2574cda7e7531376c8d14b3aac /authfile.h
parent3b1382ffd5e71eff78db8cef0f3cada22ff29409 (diff)
upstream: add sshkey_save_public(), to save a public key; ok
markus@ OpenBSD-Commit-ID: 5d6f96a966d10d7fa689ff9aa9e1d6767ad5a076
Diffstat (limited to 'authfile.h')
-rw-r--r--authfile.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/authfile.h b/authfile.h
index 9c8a95a01..a2840cf80 100644
--- a/authfile.h
+++ b/authfile.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: authfile.h,v 1.23 2019/09/03 08:30:47 djm Exp $ */ 1/* $OpenBSD: authfile.h,v 1.24 2020/01/02 22:38:33 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2013 Markus Friedl. All rights reserved.
@@ -49,5 +49,7 @@ int sshkey_perm_ok(int, const char *);
49int sshkey_in_file(struct sshkey *, const char *, int, int); 49int sshkey_in_file(struct sshkey *, const char *, int, int);
50int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file); 50int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file);
51int sshkey_advance_past_options(char **cpp); 51int sshkey_advance_past_options(char **cpp);
52int sshkey_save_public(const struct sshkey *key, const char *path,
53 const char *comment);
52 54
53#endif 55#endif