reviewed: bwelling

1327.   [bug]           nsupdate: allow white space base64 key data.
This commit is contained in:
Mark Andrews
2002-07-11 03:51:27 +00:00
parent 380a309889
commit 9d352ffc42
2 changed files with 4 additions and 2 deletions

View File

@@ -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 <config.h>
@@ -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);