summaryrefslogtreecommitdiff
path: root/security/nss/lib/certhigh
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2002-09-06 20:17:42 +0000
committerwtc%netscape.com <devnull@localhost>2002-09-06 20:17:42 +0000
commitca71df950d41dd7afc4efa53cb00403d2e02fb98 (patch)
tree94e54291f6b28d6c705ba75e2e4cd674df813cce /security/nss/lib/certhigh
parent2d4252d517d9ba590ae727909b76338f0dbfbc10 (diff)
downloadnss-hg-ca71df950d41dd7afc4efa53cb00403d2e02fb98.tar.gz
Bug 166933: fixed build breakage on the Mac.
Modified files: certdb/crl.c certhigh/certhigh.c softoken/dbmshim.c
Diffstat (limited to 'security/nss/lib/certhigh')
-rw-r--r--security/nss/lib/certhigh/certhigh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/nss/lib/certhigh/certhigh.c b/security/nss/lib/certhigh/certhigh.c
index f5262851b..02e811c3a 100644
--- a/security/nss/lib/certhigh/certhigh.c
+++ b/security/nss/lib/certhigh/certhigh.c
@@ -381,7 +381,7 @@ typedef struct stringNode {
char *string;
} stringNode;
-static SECStatus
+static PRStatus
CollectNicknames( NSSCertificate *c, void *data)
{
CERTCertNicknames *names;
@@ -407,7 +407,7 @@ CollectNicknames( NSSCertificate *c, void *data)
else {
td = NSSCertificate_GetTrustDomain(c);
if (!td) {
- return SECSuccess;
+ return PR_SUCCESS;
}
trust = nssTrustDomain_FindTrustForCertificate(td,c);
@@ -448,7 +448,7 @@ CollectNicknames( NSSCertificate *c, void *data)
/* nickname can only be NULL here if we are having memory
* alloc problems */
if (nickname == NULL) {
- return SECFailure;
+ return PR_FAILURE;
}
node = (stringNode *)names->head;
while ( node != NULL ) {
@@ -466,7 +466,7 @@ CollectNicknames( NSSCertificate *c, void *data)
/* allocate the node */
node = (stringNode*)PORT_ArenaAlloc(names->arena, sizeof(stringNode));
if ( node == NULL ) {
- return(SECFailure);
+ return(PR_FAILURE);
}
/* copy the string */
@@ -474,7 +474,7 @@ CollectNicknames( NSSCertificate *c, void *data)
node->string = (char*)PORT_ArenaAlloc(names->arena, len);
if ( node->string == NULL ) {
if (nickname) PORT_Free(nickname);
- return(SECFailure);
+ return(PR_FAILURE);
}
PORT_Memcpy(node->string, nickname, len);
@@ -487,7 +487,7 @@ CollectNicknames( NSSCertificate *c, void *data)
}
if (nickname) PORT_Free(nickname);
- return(SECSuccess);
+ return(PR_SUCCESS);
}
CERTCertNicknames *