diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-12-21 21:52:57 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-12-21 21:52:57 +0000 |
commit | 8aa3d7462dafeadf7492d8fc5822045bb1da4227 (patch) | |
tree | f5291073ec1103e9be377e0e2c6122354b394a13 /sbin/isakmpd/conf.c | |
parent | bc205e20ca5fe18439c851117e66819ad401ce96 (diff) |
Remove bogus check of printableness of the config file
Diffstat (limited to 'sbin/isakmpd/conf.c')
-rw-r--r-- | sbin/isakmpd/conf.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sbin/isakmpd/conf.c b/sbin/isakmpd/conf.c index d1fa4c6755a..59c0d892aa9 100644 --- a/sbin/isakmpd/conf.c +++ b/sbin/isakmpd/conf.c @@ -1,5 +1,5 @@ -/* $OpenBSD: conf.c,v 1.4 1998/11/20 07:38:30 niklas Exp $ */ -/* $EOM: conf.c,v 1.10 1998/11/20 07:19:21 niklas Exp $ */ +/* $OpenBSD: conf.c,v 1.5 1998/12/21 21:52:56 niklas Exp $ */ +/* $EOM: conf.c,v 1.11 1998/12/21 21:28:55 niklas Exp $ */ /* * Copyright (c) 1998 Niklas Hallqvist. All rights reserved. @@ -133,13 +133,6 @@ conf_parse_line (char *line, size_t sz) static int ln = 0; ln++; - for (i = 0; line[i]; i++) - if (!isprint (*cp)) - { - log_print ("conf_parse_line: %d:" - "ignoring line %d with non-printable characters", ln); - return; - } /* Lines starting with '#' or ';' are comments. */ if (*line == '#' || *line == ';') |