mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 21:33:43 +00:00
Bugzilla bug 94685: fixed compiler warnings. The patch is from
timeless@mac.com. Modified Files: cmd/certcgi/certcgi.c cmd/pk12util/pk12util.c lib/certdb/certdb.c
This commit is contained in:
parent
f02452db2b
commit
bf832ce37d
@ -2416,7 +2416,7 @@ main(int argc, char **argv)
|
||||
fclose(outfile);
|
||||
#endif
|
||||
fflush(stdout);
|
||||
return;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
@ -146,7 +146,7 @@ p12u_CreateTemporaryDigestFile(void)
|
||||
{
|
||||
p12uContext *p12cxt;
|
||||
#if defined(_WIN32) || defined(_WINDOWS) || defined(XP_OS2)
|
||||
char *tmpdir,*filename,*last;
|
||||
char *tmpdir,*filename,last;
|
||||
int len;
|
||||
#endif
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
/*
|
||||
* Certificate handling code
|
||||
*
|
||||
* $Id: certdb.c,v 1.13 2001/06/21 03:20:09 nelsonb%netscape.com Exp $
|
||||
* $Id: certdb.c,v 1.14 2001/08/22 22:40:42 wtc%netscape.com Exp $
|
||||
*/
|
||||
|
||||
#include "nssilock.h"
|
||||
@ -1706,7 +1706,7 @@ CERT_IsCADERCert(SECItem *derCert, unsigned int *type) {
|
||||
|
||||
cert = CERT_NewTempCertificate(CERT_GetDefaultCertDB(), derCert, NULL,
|
||||
PR_FALSE, PR_TRUE);
|
||||
if (cert == NULL) return NULL;
|
||||
if (cert == NULL) return PR_FALSE;
|
||||
|
||||
isCA = CERT_IsCACert(cert,type);
|
||||
CERT_DestroyCertificate (cert);
|
||||
@ -2082,7 +2082,7 @@ loser:
|
||||
SECStatus
|
||||
CERT_AddCertToListTail(CERTCertList *certs, CERTCertificate *cert)
|
||||
{
|
||||
CERT_AddCertToListTailWithData(certs, cert, NULL);
|
||||
return CERT_AddCertToListTailWithData(certs, cert, NULL);
|
||||
}
|
||||
|
||||
SECStatus
|
||||
|
Loading…
Reference in New Issue
Block a user