summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index b8d55452d..b664a5f1f 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.234 2013/09/02 22:00:34 deraadt Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.235 2013/10/23 04:16:22 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1743,7 +1743,7 @@ parse_cert_times(char *timespec)
1743 cert_valid_from = parse_absolute_time(from); 1743 cert_valid_from = parse_absolute_time(from);
1744 1744
1745 if (*to == '-' || *to == '+') 1745 if (*to == '-' || *to == '+')
1746 cert_valid_to = parse_relative_time(to, cert_valid_from); 1746 cert_valid_to = parse_relative_time(to, now);
1747 else 1747 else
1748 cert_valid_to = parse_absolute_time(to); 1748 cert_valid_to = parse_absolute_time(to);
1749 1749