fix broken HPUX builds
git-svn-id: svn://10.0.0.236/trunk@119958 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
*/
|
||||
|
||||
#ifdef DEBUG
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: devutil.c,v $ $Revision: 1.13 $ $Date: 2002-04-25 19:33:47 $ $Name: not supported by cvs2svn $";
|
||||
static const char CVS_ID[] = "@(#) $RCSfile: devutil.c,v $ $Revision: 1.14 $ $Date: 2002-04-26 12:59:06 $ $Name: not supported by cvs2svn $";
|
||||
#endif /* DEBUG */
|
||||
|
||||
#ifndef DEVM_H
|
||||
@@ -687,11 +687,11 @@ create_object_array
|
||||
*doObjects = PR_FALSE;
|
||||
*status = PR_FAILURE;
|
||||
*numObjects = 0;
|
||||
} else if (numObjects > 0) {
|
||||
} else if (*numObjects > 0) {
|
||||
rvOandA = nss_ZNEWARRAY(NULL,
|
||||
nssCryptokiObjectAndAttributes *,
|
||||
*numObjects + 1);
|
||||
status = rvOandA ? PR_SUCCESS : PR_FALSE;
|
||||
*status = rvOandA ? PR_SUCCESS : PR_FALSE;
|
||||
}
|
||||
return rvOandA;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user