diff options
author | 1998-12-21 21:52:56 +0000 | |
---|---|---|
committer | 1998-12-21 21:52:56 +0000 | |
commit | 0af9d1ef0ee22197b33abb7a93f7b44fa1d30598 (patch) | |
tree | eb190f57892e230b2558070a00513df95b85239c | |
parent | df(struct statfs) free/total decryption by d@ (diff) | |
download | wireguard-openbsd-0af9d1ef0ee22197b33abb7a93f7b44fa1d30598.tar.xz wireguard-openbsd-0af9d1ef0ee22197b33abb7a93f7b44fa1d30598.zip |
Remove bogus check of printableness of the config file
-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 == ';') |