summaryrefslogtreecommitdiff
path: root/security/nss/lib/jar/jarver.c
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2003-01-28 16:39:32 +0000
committerrelyea%netscape.com <devnull@localhost>2003-01-28 16:39:32 +0000
commitd1401425021ac1c2ec1d8450b154f4eaa6c1946f (patch)
treee1316a8ad08dc53d589f76957ac224da1e0d4616 /security/nss/lib/jar/jarver.c
parent7563b5ed9036d7ccaaea3827cceb730d6ca3b4d0 (diff)
downloadnss-hg-d1401425021ac1c2ec1d8450b154f4eaa6c1946f.tar.gz
Remove dead code and symbols from lib jar so that modutil can compile when
linked with it.
Diffstat (limited to 'security/nss/lib/jar/jarver.c')
-rw-r--r--security/nss/lib/jar/jarver.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/nss/lib/jar/jarver.c b/security/nss/lib/jar/jarver.c
index be974a1dd..c2384284c 100644
--- a/security/nss/lib/jar/jarver.c
+++ b/security/nss/lib/jar/jarver.c
@@ -1407,8 +1407,11 @@ char *JAR_cert_html
if (cert == NULL || *result < 0)
return NULL;
- *result = 0;
+ *result = -1;
+
+ return NULL;
+#ifdef notdef
html = CERT_HTMLCertInfo (cert, /* show images */ PR_TRUE,
/*show issuer*/PR_TRUE);
@@ -1416,6 +1419,7 @@ char *JAR_cert_html
*result = -1;
return html;
+#endif
}
/*