summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshkey.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2015-11-19 01:08:56 +0000
committerDamien Miller <djm@cvs.openbsd.org>2015-11-19 01:08:56 +0000
commit1c866dc9a5f0a61a5c1ec3116d1ffc15075bac8a (patch)
tree1bedfe89bb71470f1f252fb02d5a2122da033c55 /usr.bin/ssh/sshkey.h
parent71e5daed0f3b9219417546de0f00e23ce1238457 (diff)
move the certificate validity formatting code to sshkey.[ch]
Diffstat (limited to 'usr.bin/ssh/sshkey.h')
-rw-r--r--usr.bin/ssh/sshkey.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshkey.h b/usr.bin/ssh/sshkey.h
index b97b1fa99e2..f6a94ca9192 100644
--- a/usr.bin/ssh/sshkey.h
+++ b/usr.bin/ssh/sshkey.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshkey.h,v 1.10 2015/09/13 14:39:16 tim Exp $ */
+/* $OpenBSD: sshkey.h,v 1.11 2015/11/19 01:08:55 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -135,6 +135,8 @@ int sshkey_certify(struct sshkey *, struct sshkey *);
int sshkey_cert_copy(const struct sshkey *, struct sshkey *);
int sshkey_cert_check_authority(const struct sshkey *, int, int,
const char *, const char **);
+size_t sshkey_format_cert_validity(const struct sshkey_cert *,
+ char *, size_t) __attribute__((__bounded__(__string__, 2, 3)));
int sshkey_ecdsa_nid_from_name(const char *);
int sshkey_curve_name_to_nid(const char *);