summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Engert <kaie@kuix.de>2018-05-24 19:57:29 +0200
committerKai Engert <kaie@kuix.de>2018-05-24 19:57:29 +0200
commit7b4298ed1c26fe1116222af2e07f9121811e89d9 (patch)
tree65efbe2d0bb17e61c456fcb82048ef815dfb8fa5
parentf695d3845ce59ad103676215b8cd93b58e1fae1a (diff)
downloadnss-hg-7b4298ed1c26fe1116222af2e07f9121811e89d9.tar.gz
Bug 430198, bustage fix, Windows doesn't have strncasecmp, use equivalent NSPR function PL_strncasecmp
-rw-r--r--cmd/certutil/certutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/certutil/certutil.c b/cmd/certutil/certutil.c
index 4f265fd37..dbb93c922 100644
--- a/cmd/certutil/certutil.c
+++ b/cmd/certutil/certutil.c
@@ -3480,7 +3480,7 @@ certutil_main(int argc, char **argv, PRBool initialize)
return SECFailure;
}
}
- if (0 == strncasecmp("0x", keysource, 2)) {
+ if (0 == PL_strncasecmp("0x", keysource, 2)) {
keysourcePtr = keysource + 2; // skip leading "0x"
}
arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);