summaryrefslogtreecommitdiff
path: root/cmd/vfyserv
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2015-08-07 17:34:12 -0700
committerMartin Thomson <martin.thomson@gmail.com>2015-08-07 17:34:12 -0700
commitdf18e4c7e5e9ad31fab45575896fba7d2bc24250 (patch)
treef07ff7f0e8d1d06e564917eb58af355c1fa7d456 /cmd/vfyserv
parentc084b875adee244f5f56dd03e8948239d1f6c076 (diff)
downloadnss-hg-df18e4c7e5e9ad31fab45575896fba7d2bc24250.tar.gz
Bug 1182667 - Removing warnings, enabling -Werror, r=rrelyea
Diffstat (limited to 'cmd/vfyserv')
-rw-r--r--cmd/vfyserv/vfyserv.c2
-rw-r--r--cmd/vfyserv/vfyutil.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/vfyserv/vfyserv.c b/cmd/vfyserv/vfyserv.c
index d83fc3959..6ee22489a 100644
--- a/cmd/vfyserv/vfyserv.c
+++ b/cmd/vfyserv/vfyserv.c
@@ -510,7 +510,7 @@ main(int argc, char **argv)
int cipher;
if (ndx == ':') {
- int ctmp;
+ int ctmp = 0;
cipher = 0;
HEXCHAR_TO_INT(*cipherString, ctmp)
diff --git a/cmd/vfyserv/vfyutil.c b/cmd/vfyserv/vfyutil.c
index 15f0d9781..686c7b13f 100644
--- a/cmd/vfyserv/vfyutil.c
+++ b/cmd/vfyserv/vfyutil.c
@@ -603,7 +603,7 @@ void
dumpCertChain(CERTCertificate *cert, SECCertUsage usage)
{
CERTCertificateList *certList;
- int count = 0;
+ unsigned int count = 0;
certList = CERT_CertChainFromCert(cert, usage, PR_TRUE);
if (certList == NULL) {