subjectList = nssList_Create(store->arena, PR_FALSE);
subjectList = nssList_Create(NULL, PR_FALSE);
add_subject_entry(  nssCertificateStore *store,  NSSCertificate *cert){    PRStatus nssrv;    nssList *subjectList;    subjectList = (nssList *)nssHash_Lookup(store->subject, &cert->subject);    if (subjectList) {	/* The subject is already in, add this cert to the list */	nssrv = nssList_AddUnique(subjectList, cert);    } else {	/* Create a new subject list for the subject */	subjectList = nssList_Create(store->arena, PR_FALSE);	if (!subjectList) {	    return PR_FAILURE;	}	nssList_SetSortFunction(subjectList, subject_list_sort);	/* Add the cert entry to this list of subjects */	nssrv = nssList_Add(subjectList, cert);	if (nssrv != PR_SUCCESS) {	    return nssrv;	}	/* Add the subject list to the cache */	nssrv = nssHash_Add(store->subject, &cert->subject, subjectList);    }    return nssrv;}