summaryrefslogtreecommitdiff
path: root/cmd/signtool
diff options
context:
space:
mode:
authorBrian Smith <bsmith@mozilla.com>2013-03-22 19:25:18 -0700
committerBrian Smith <bsmith@mozilla.com>2013-03-22 19:25:18 -0700
commit37ffceebadfe073d4a067359d317e54c52f3864b (patch)
tree38ed3bdddfe2a79209bcf2d9c42bd084fdb81a30 /cmd/signtool
parent4e9d4d785d3344b1cf91e232b322329e5280fd18 (diff)
downloadnss-hg-37ffceebadfe073d4a067359d317e54c52f3864b.tar.gz
Bug 854729: Add const to many certificate-related NSS functions, r=ryan.sleevi
Diffstat (limited to 'cmd/signtool')
-rw-r--r--cmd/signtool/verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/signtool/verify.c b/cmd/signtool/verify.c
index d8f00b6bd..d6b430ee2 100644
--- a/cmd/signtool/verify.c
+++ b/cmd/signtool/verify.c
@@ -47,7 +47,7 @@ VerifyJar(char *filename)
"\nNOTE -- \"%s\" archive DID NOT PASS crypto verification.\n",
filename);
if (status < 0) {
- char *errtext;
+ const char *errtext;
if (status >= JAR_BASE && status <= JAR_BASE_END) {
errtext = JAR_get_error (status);
@@ -278,7 +278,7 @@ JarWho(char *filename)
filename);
retval = -1;
if (jar->valid < 0 || status != -1) {
- char *errtext;
+ const char *errtext;
if (status >= JAR_BASE && status <= JAR_BASE_END) {
errtext = JAR_get_error (status);