diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-03-12 01:52:01 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-03-14 08:55:32 +0100 |
commit | bf0fbf2b11a44f06a64b620af7d01ff171c28e13 (patch) | |
tree | bebb13975a12e80a295cafeec72417a6911ea750 /misc.h | |
parent | Add AC_LANG_PROGRAM to AC_COMPILE_IFELSE. (diff) | |
download | openssh-bf0fbf2b11a44f06a64b620af7d01ff171c28e13.tar.xz openssh-bf0fbf2b11a44f06a64b620af7d01ff171c28e13.zip |
upstream: add valid-before="[time]" authorized_keys option. A
simple way of giving a key an expiry date. ok markus@
OpenBSD-Commit-ID: 1793b4dd5184fa87f42ed33c7b0f4f02bc877947
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.70 2018/01/08 15:21:49 markus Exp $ */ +/* $OpenBSD: misc.h,v 1.71 2018/03/12 00:52:01 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -75,6 +75,8 @@ void lowercase(char *s); int unix_listener(const char *, int, int); int valid_domain(char *, int, const char **); const char *atoi_err(const char *, int *); +int parse_absolute_time(const char *, uint64_t *); +void format_absolute_time(uint64_t, char *, size_t); void sock_set_v6only(int); |