summaryrefslogtreecommitdiff
path: root/cmd/vfyserv
diff options
context:
space:
mode:
authorMartin Thomson <martin.thomson@gmail.com>2015-08-12 09:44:25 -0700
committerMartin Thomson <martin.thomson@gmail.com>2015-08-12 09:44:25 -0700
commit225703849bf43ff466e4dcfd3b68c30486e8ad12 (patch)
treea6970da1dad182eb7e0d6a346cec7bb89205a789 /cmd/vfyserv
parentdf18e4c7e5e9ad31fab45575896fba7d2bc24250 (diff)
downloadnss-hg-225703849bf43ff466e4dcfd3b68c30486e8ad12.tar.gz
Backed out changeset 4355f55afeb2 (Bug 1158489)
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 6ee22489a..d83fc3959 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 = 0;
+ int ctmp;
cipher = 0;
HEXCHAR_TO_INT(*cipherString, ctmp)
diff --git a/cmd/vfyserv/vfyutil.c b/cmd/vfyserv/vfyutil.c
index 686c7b13f..15f0d9781 100644
--- a/cmd/vfyserv/vfyutil.c
+++ b/cmd/vfyserv/vfyutil.c
@@ -603,7 +603,7 @@ void
dumpCertChain(CERTCertificate *cert, SECCertUsage usage)
{
CERTCertificateList *certList;
- unsigned int count = 0;
+ int count = 0;
certList = CERT_CertChainFromCert(cert, usage, PR_TRUE);
if (certList == NULL) {