summaryrefslogtreecommitdiff
path: root/sshkey.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-11-19 01:08:55 +0000
committerDamien Miller <djm@mindrot.org>2015-11-19 12:11:37 +1100
commit499cf36fecd6040e30e2912dd25655bc574739a7 (patch)
tree26ff48a460c48b89f3e53cbc88345e663ae25e0b /sshkey.h
parentbcb7bc77bbb1535d1008c7714085556f3065d99d (diff)
upstream commit
move the certificate validity formatting code to sshkey.[ch] Upstream-ID: f05f7c78fab20d02ff1d5ceeda533ef52e8fe523
Diffstat (limited to 'sshkey.h')
-rw-r--r--sshkey.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sshkey.h b/sshkey.h
index 99f1b25d..5a8cccd4 100644
--- a/sshkey.h
+++ b/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.
@@ -141,6 +141,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 *);