diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:51 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 16:48:11 +0100 |
commit | 0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch) | |
tree | ba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /key.h | |
parent | f2a5f5dae656759efb0b76c3d94890b65c197a02 (diff) | |
parent | 8698446b972003b63dfe5dcbdb86acfe986afb85 (diff) |
New upstream release (6.8p1).
Diffstat (limited to 'key.h')
-rw-r--r-- | key.h | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: key.h,v 1.42 2014/06/24 01:13:21 djm Exp $ */ | 1 | /* $OpenBSD: key.h,v 1.47 2015/01/28 22:36:00 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -39,7 +39,6 @@ typedef struct sshkey Key; | |||
39 | #define key_free sshkey_free | 39 | #define key_free sshkey_free |
40 | #define key_equal_public sshkey_equal_public | 40 | #define key_equal_public sshkey_equal_public |
41 | #define key_equal sshkey_equal | 41 | #define key_equal sshkey_equal |
42 | #define key_fingerprint sshkey_fingerprint | ||
43 | #define key_type sshkey_type | 42 | #define key_type sshkey_type |
44 | #define key_cert_type sshkey_cert_type | 43 | #define key_cert_type sshkey_cert_type |
45 | #define key_ssh_name sshkey_ssh_name | 44 | #define key_ssh_name sshkey_ssh_name |
@@ -50,7 +49,6 @@ typedef struct sshkey Key; | |||
50 | #define key_size sshkey_size | 49 | #define key_size sshkey_size |
51 | #define key_ecdsa_bits_to_nid sshkey_ecdsa_bits_to_nid | 50 | #define key_ecdsa_bits_to_nid sshkey_ecdsa_bits_to_nid |
52 | #define key_ecdsa_key_to_nid sshkey_ecdsa_key_to_nid | 51 | #define key_ecdsa_key_to_nid sshkey_ecdsa_key_to_nid |
53 | #define key_names_valid2 sshkey_names_valid2 | ||
54 | #define key_is_cert sshkey_is_cert | 52 | #define key_is_cert sshkey_is_cert |
55 | #define key_type_plain sshkey_type_plain | 53 | #define key_type_plain sshkey_type_plain |
56 | #define key_cert_is_legacy sshkey_cert_is_legacy | 54 | #define key_cert_is_legacy sshkey_cert_is_legacy |
@@ -60,14 +58,12 @@ typedef struct sshkey Key; | |||
60 | #define key_ec_nid_to_hash_alg sshkey_ec_nid_to_hash_alg | 58 | #define key_ec_nid_to_hash_alg sshkey_ec_nid_to_hash_alg |
61 | #define key_dump_ec_point sshkey_dump_ec_point | 59 | #define key_dump_ec_point sshkey_dump_ec_point |
62 | #define key_dump_ec_key sshkey_dump_ec_key | 60 | #define key_dump_ec_key sshkey_dump_ec_key |
63 | #define key_fingerprint sshkey_fingerprint | ||
64 | #endif | 61 | #endif |
65 | 62 | ||
66 | void key_add_private(Key *); | 63 | void key_add_private(Key *); |
67 | Key *key_new_private(int); | 64 | Key *key_new_private(int); |
68 | void key_free(Key *); | 65 | void key_free(Key *); |
69 | Key *key_demote(const Key *); | 66 | Key *key_demote(const Key *); |
70 | u_char *key_fingerprint_raw(const Key *, enum fp_type, u_int *); | ||
71 | int key_write(const Key *, FILE *); | 67 | int key_write(const Key *, FILE *); |
72 | int key_read(Key *, char **); | 68 | int key_read(Key *, char **); |
73 | 69 | ||
@@ -104,8 +100,6 @@ Key *key_load_public(const char *, char **); | |||
104 | Key *key_load_private(const char *, const char *, char **); | 100 | Key *key_load_private(const char *, const char *, char **); |
105 | Key *key_load_private_cert(int, const char *, const char *, int *); | 101 | Key *key_load_private_cert(int, const char *, const char *, int *); |
106 | Key *key_load_private_type(int, const char *, const char *, char **, int *); | 102 | Key *key_load_private_type(int, const char *, const char *, char **, int *); |
107 | Key *key_load_private_pem(int, int, const char *, char **); | ||
108 | int key_perm_ok(int, const char *); | 103 | int key_perm_ok(int, const char *); |
109 | int key_in_file(Key *, const char *, int); | ||
110 | 104 | ||
111 | #endif | 105 | #endif |