From fba28f19754f62b5227650143d5441fc86d4c7d7 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 25 Apr 2018 21:33:33 +0200 Subject: Revert "Update NSS to 3.35-RTM" This reverts commit f1a0f0a56fdd0fc39f255174ce08c06b91c66c94. --- security/nss/cmd/signtool/javascript.c | 3 ++- security/nss/cmd/signtool/signtool.c | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'security/nss/cmd/signtool') diff --git a/security/nss/cmd/signtool/javascript.c b/security/nss/cmd/signtool/javascript.c index ffff2db59..746f724f8 100644 --- a/security/nss/cmd/signtool/javascript.c +++ b/security/nss/cmd/signtool/javascript.c @@ -1115,7 +1115,8 @@ extract_js(char *filename) textStart = 0; startLine = 0; - while (linenum = FB_GetLineNum(fb), (curchar = FB_GetChar(fb)) != EOF) { + while (linenum = FB_GetLineNum(fb), (curchar = FB_GetChar(fb)) != + EOF) { switch (state) { case TEXT_HTML_STATE: if (curchar == '<') { diff --git a/security/nss/cmd/signtool/signtool.c b/security/nss/cmd/signtool/signtool.c index 915a00fbc..51857d638 100644 --- a/security/nss/cmd/signtool/signtool.c +++ b/security/nss/cmd/signtool/signtool.c @@ -1033,7 +1033,9 @@ main(int argc, char *argv[]) if (errorCount > 0 || warningCount > 0) { PR_fprintf(outputFD, "%d error%s, %d warning%s.\n", errorCount, - errorCount == 1 ? "" : "s", warningCount, warningCount == 1 ? "" : "s"); + errorCount == 1 ? "" : "s", warningCount, warningCount == 1 + ? "" + : "s"); } else { PR_fprintf(outputFD, "Directory %s signed successfully.\n", jartree); -- cgit v1.2.3