From 9d352ffc4260f4170493d39a5236d949a39f093e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 11 Jul 2002 03:51:27 +0000 Subject: [PATCH] reviewed: bwelling 1327. [bug] nsupdate: allow white space base64 key data. --- CHANGES | 2 ++ bin/nsupdate/nsupdate.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 4e1c1e2e93..f5a2e6060c 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,8 @@ 1330. [bug] 'rndc stop' failed to cause zones to be flushed sometimes. [RT #3157] +1327. [bug] nsupdate: allow white space base64 key data. + 1326. [bug] Badly encoded LOC record when the size, horizontal precision or vertical precision was 0.1m. diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c index b1da4d26d2..14abf69bd9 100644 --- a/bin/nsupdate/nsupdate.c +++ b/bin/nsupdate/nsupdate.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: nsupdate.c,v 1.103.2.9 2002/02/08 03:57:18 marka Exp $ */ +/* $Id: nsupdate.c,v 1.103.2.10 2002/07/11 03:51:27 marka Exp $ */ #include @@ -1036,7 +1036,7 @@ evaluate_key(char *cmdline) { return (STATUS_SYNTAX); } - secretstr = nsu_strsep(&cmdline, " \t\r\n"); + secretstr = nsu_strsep(&cmdline, "\r\n"); if (*secretstr == 0) { fprintf(stderr, "could not read key secret\n"); return (STATUS_SYNTAX);