if (nssrv != PR_SUCCESS) { break;
if (nssrv == PR_SUCCESS) { nssList_Remove(c->object.instanceList, instance); #ifdef NSS_3_4_CODE if (instance->token->certList) {  nssList_Remove(instance->token->certList, c); NSSCertificate_Destroy(c); } #endif
NSSCertificate_DeleteStoredObject(  NSSCertificate *c,  NSSCallback *uhh){    /* this needs more thought on what will happen when there are multiple     * instances     */    /* XXX use callback to log in if neccessary */    PRStatus nssrv = PR_SUCCESS;    nssCryptokiInstance *instance;    nssListIterator *instances = c->object.instances;    for (instance  = (nssCryptokiInstance *)nssListIterator_Start(instances);         instance != (nssCryptokiInstance *)NULL;         instance  = (nssCryptokiInstance *)nssListIterator_Next(instances))     {	nssrv = nssToken_DeleteStoredObject(instance);	if (nssrv != PR_SUCCESS) {	    break;	}    }    nssListIterator_Finish(instances);    return nssrv;}