diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:50 +0100 |
commit | baccdb349b31c47cd76fb63211f754ed33a9707e (patch) | |
tree | d03653f975fd4eb8bf71bb0c9d168614401202fa /authfile.h | |
parent | 487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (diff) | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb (diff) |
Import openssh_6.8p1.orig.tar.gz
Diffstat (limited to 'authfile.h')
-rw-r--r-- | authfile.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/authfile.h b/authfile.h index 03bc3958c..624d269f1 100644 --- a/authfile.h +++ b/authfile.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: authfile.h,v 1.19 2014/07/03 23:18:35 djm Exp $ */ | 1 | /* $OpenBSD: authfile.h,v 1.21 2015/01/08 10:14:08 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. |
@@ -30,9 +30,12 @@ | |||
30 | struct sshbuf; | 30 | struct sshbuf; |
31 | struct sshkey; | 31 | struct sshkey; |
32 | 32 | ||
33 | /* XXX document these */ | ||
34 | /* XXX some of these could probably be merged/retired */ | ||
35 | |||
33 | int sshkey_save_private(struct sshkey *, const char *, | 36 | int sshkey_save_private(struct sshkey *, const char *, |
34 | const char *, const char *, int, const char *, int); | 37 | const char *, const char *, int, const char *, int); |
35 | int sshkey_load_file(int, const char *, struct sshbuf *); | 38 | int sshkey_load_file(int, struct sshbuf *); |
36 | int sshkey_load_cert(const char *, struct sshkey **); | 39 | int sshkey_load_cert(const char *, struct sshkey **); |
37 | int sshkey_load_public(const char *, struct sshkey **, char **); | 40 | int sshkey_load_public(const char *, struct sshkey **, char **); |
38 | int sshkey_load_private(const char *, const char *, struct sshkey **, char **); | 41 | int sshkey_load_private(const char *, const char *, struct sshkey **, char **); |
@@ -40,8 +43,10 @@ int sshkey_load_private_cert(int, const char *, const char *, | |||
40 | struct sshkey **, int *); | 43 | struct sshkey **, int *); |
41 | int sshkey_load_private_type(int, const char *, const char *, | 44 | int sshkey_load_private_type(int, const char *, const char *, |
42 | struct sshkey **, char **, int *); | 45 | struct sshkey **, char **, int *); |
43 | int sshkey_load_private_pem(int, int, const char *, struct sshkey **, char **); | 46 | int sshkey_load_private_type_fd(int fd, int type, const char *passphrase, |
47 | struct sshkey **keyp, char **commentp); | ||
44 | int sshkey_perm_ok(int, const char *); | 48 | int sshkey_perm_ok(int, const char *); |
45 | int sshkey_in_file(struct sshkey *, const char *, int); | 49 | int sshkey_in_file(struct sshkey *, const char *, int, int); |
50 | int sshkey_check_revoked(struct sshkey *key, const char *revoked_keys_file); | ||
46 | 51 | ||
47 | #endif | 52 | #endif |