summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth-options.c
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2018-03-14 05:35:41 +0000
committerDamien Miller <djm@cvs.openbsd.org>2018-03-14 05:35:41 +0000
commit637ce417eb41ceef93c38c84d9ec0cb2535ffcc8 (patch)
treedfd6ff2ecd369076989aee14513b792e405a4da2 /usr.bin/ssh/auth-options.c
parentf4dd2e865112f578944ab607ff2295973924f275 (diff)
rename recently-added "valid-before" key restriction to "expiry-time"
as the former is confusing wrt similar terminology in X.509; pointed out by jsing@
Diffstat (limited to 'usr.bin/ssh/auth-options.c')
-rw-r--r--usr.bin/ssh/auth-options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/auth-options.c b/usr.bin/ssh/auth-options.c
index e727af8c7b4..f30826028ef 100644
--- a/usr.bin/ssh/auth-options.c
+++ b/usr.bin/ssh/auth-options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-options.c,v 1.77 2018/03/12 00:52:01 djm Exp $ */
+/* $OpenBSD: auth-options.c,v 1.78 2018/03/14 05:35:40 djm Exp $ */
/*
* Copyright (c) 2018 Damien Miller <djm@mindrot.org>
*
@@ -364,7 +364,7 @@ sshauthopt_parse(const char *opts, const char **errstrp)
&errstr);
if (ret->required_from_host_keys == NULL)
goto fail;
- } else if (opt_match(&opts, "valid-before")) {
+ } else if (opt_match(&opts, "expiry-time")) {
if ((opt = opt_dequote(&opts, &errstr)) == NULL)
goto fail;
if (parse_absolute_time(opt, &valid_before) != 0 ||