summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'sshkey.h')
-rw-r--r--sshkey.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/sshkey.h b/sshkey.h
index b010b8eb6..5cf4e5d8f 100644
--- a/sshkey.h
+++ b/sshkey.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshkey.h,v 1.6 2015/05/21 04:55:51 djm Exp $ */ 1/* $OpenBSD: sshkey.h,v 1.9 2015/08/04 05:23:06 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.
@@ -62,8 +62,6 @@ enum sshkey_types {
62 KEY_DSA_CERT, 62 KEY_DSA_CERT,
63 KEY_ECDSA_CERT, 63 KEY_ECDSA_CERT,
64 KEY_ED25519_CERT, 64 KEY_ED25519_CERT,
65 KEY_RSA_CERT_V00,
66 KEY_DSA_CERT_V00,
67 KEY_NULL, 65 KEY_NULL,
68 KEY_UNSPEC 66 KEY_UNSPEC
69}; 67};
@@ -138,13 +136,12 @@ int sshkey_type_from_name(const char *);
138int sshkey_is_cert(const struct sshkey *); 136int sshkey_is_cert(const struct sshkey *);
139int sshkey_type_is_cert(int); 137int sshkey_type_is_cert(int);
140int sshkey_type_plain(int); 138int sshkey_type_plain(int);
141int sshkey_to_certified(struct sshkey *, int); 139int sshkey_to_certified(struct sshkey *);
142int sshkey_drop_cert(struct sshkey *); 140int sshkey_drop_cert(struct sshkey *);
143int sshkey_certify(struct sshkey *, struct sshkey *); 141int sshkey_certify(struct sshkey *, struct sshkey *);
144int sshkey_cert_copy(const struct sshkey *, struct sshkey *); 142int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
145int sshkey_cert_check_authority(const struct sshkey *, int, int, 143int sshkey_cert_check_authority(const struct sshkey *, int, int,
146 const char *, const char **); 144 const char *, const char **);
147int sshkey_cert_is_legacy(const struct sshkey *);
148 145
149int sshkey_ecdsa_nid_from_name(const char *); 146int sshkey_ecdsa_nid_from_name(const char *);
150int sshkey_curve_name_to_nid(const char *); 147int sshkey_curve_name_to_nid(const char *);