From bc345d84e0b3c56a057a92ca76216d8af133b5f9 Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Fri, 6 Jul 2012 18:56:57 -0400 Subject: Revert "Document absolute times for 'kinit -s'" This reverts commit 20f85a81151f69689e3c060e89852687eb6c5a3c. The ability of 'kinit -s' to accept an absolute time is intentionally undocumented and remains only for backwards compatibility. Leave a comment in the source to this effect, for future generations. --- src/clients/kinit/kinit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index dcec9b766..256f165fe 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -330,6 +330,8 @@ parse_options(argc, argv, opts) case 's': code = krb5_string_to_deltat(optarg, &opts->starttime); if (code != 0 || opts->starttime == 0) { + /* Parse as an absolute time; intentionally undocumented + * but left for backwards compatibility. */ krb5_timestamp abs_starttime; code = krb5_string_to_timestamp(optarg, &abs_starttime); -- cgit