PRUint32 count;
nssCertificateStore_FindCertificatesBySubject(  nssCertificateStore *store,  NSSDER *subject,  NSSCertificate *rvOpt[],  PRUint32 maximumOpt,  NSSArena *arenaOpt){    PRUint32 count;    NSSCertificate **rvArray = NULL;    nssList *subjectList;    PZ_Lock(store->lock);    subjectList = (nssList *)nssHash_Lookup(store->subject, subject);    if (subjectList) {	nssCertificateList_AddReferences(subjectList);	count = nssList_Count(subjectList);	if (maximumOpt > 0) {	    count = PR_MIN(maximumOpt, count);	}	if (rvOpt) {	    nssList_GetArray(subjectList, (void **)rvOpt, count);	} else {	    rvArray = nss_ZNEWARRAY(arenaOpt, NSSCertificate *, count + 1);	    if (rvArray) {		nssList_GetArray(subjectList, (void **)rvArray, count);	    }	}    }    PZ_Unlock(store->lock);    return rvArray;}