summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-07-03 03:43:18 +0000
committerDamien Miller <djm@mindrot.org>2015-07-15 15:35:09 +1000
commitc28fc62d789d860c75e23a9fa9fb250eb2beca57 (patch)
tree9b540db8aed167256bb61cd9df90dbedb31cc79d /sshkey.h
parent564d63e1b4a9637a209d42a9d49646781fc9caef (diff)
upstream commit
delete support for legacy v00 certificates; "sure" markus@ dtucker@ Upstream-ID: b5b9bb5f9202d09e88f912989d74928601b6636f
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 cdac0e255..85a6968fd 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.7 2015/07/03 03:43:18 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_UNSPEC 65 KEY_UNSPEC
68}; 66};
69 67
@@ -137,13 +135,12 @@ int sshkey_type_from_name(const char *);
137int sshkey_is_cert(const struct sshkey *); 135int sshkey_is_cert(const struct sshkey *);
138int sshkey_type_is_cert(int); 136int sshkey_type_is_cert(int);
139int sshkey_type_plain(int); 137int sshkey_type_plain(int);
140int sshkey_to_certified(struct sshkey *, int); 138int sshkey_to_certified(struct sshkey *);
141int sshkey_drop_cert(struct sshkey *); 139int sshkey_drop_cert(struct sshkey *);
142int sshkey_certify(struct sshkey *, struct sshkey *); 140int sshkey_certify(struct sshkey *, struct sshkey *);
143int sshkey_cert_copy(const struct sshkey *, struct sshkey *); 141int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
144int sshkey_cert_check_authority(const struct sshkey *, int, int, 142int sshkey_cert_check_authority(const struct sshkey *, int, int,
145 const char *, const char **); 143 const char *, const char **);
146int sshkey_cert_is_legacy(const struct sshkey *);
147 144
148int sshkey_ecdsa_nid_from_name(const char *); 145int sshkey_ecdsa_nid_from_name(const char *);
149int sshkey_curve_name_to_nid(const char *); 146int sshkey_curve_name_to_nid(const char *);