summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2020-08-27 02:11:10 +0000
committerDamien Miller <djm@cvs.openbsd.org>2020-08-27 02:11:10 +0000
commit762fbc5b0dd4efda1f737f90eb231298e4d9ce74 (patch)
tree3b124f9fd3ca0e79598d4ba49117e111fc61ac6b /usr.bin
parentf538d1ef765ec9574542e97b694c48278d248f5d (diff)
remove unreachable code I forgot to delete in r1.334
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/readconf.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index be8ca2a310c..de64b4dc57e 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.334 2020/08/11 09:49:57 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.335 2020/08/27 02:11:09 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1818,18 +1818,6 @@ parse_keytypes:
}
break;
- arg = strdelim(&s);
- if (!arg || *arg == '\0')
- fatal("%s line %d: missing time value.",
- filename, linenum);
- if (strcmp(arg, "none") == 0)
- value = -1;
- else if ((value = convtime(arg)) == -1 || value > INT_MAX)
- fatal("%s line %d: invalid time value.",
- filename, linenum);
- if (*activep && *intptr == -1)
- *intptr = value;
-
case oIdentityAgent:
charptr = &options->identity_agent;
arg = strdelim(&s);