diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-11-19 01:08:55 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-11-19 12:11:37 +1100 |
commit | 499cf36fecd6040e30e2912dd25655bc574739a7 (patch) | |
tree | 26ff48a460c48b89f3e53cbc88345e663ae25e0b /sshkey.h | |
parent | bcb7bc77bbb1535d1008c7714085556f3065d99d (diff) |
upstream commit
move the certificate validity formatting code to
sshkey.[ch]
Upstream-ID: f05f7c78fab20d02ff1d5ceeda533ef52e8fe523
Diffstat (limited to 'sshkey.h')
-rw-r--r-- | sshkey.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 *); |