nssListIterator_Finish(td->tokens);
traverse_certificates_by_template(  NSSTrustDomain *td,  nssList *cachedList,  CK_ATTRIBUTE_PTR cktemplate,  CK_ULONG ctsize,  PRStatus (*callback)(NSSCertificate *c, void *arg),  void *arg){    PRStatus nssrv;    NSSToken *tok;    for (tok  = (NSSToken *)nssListIterator_Start(td->tokens);         tok != (NSSToken *)NULL;         tok  = (NSSToken *)nssListIterator_Next(td->tokens))    {	nssrv = nssToken_TraverseCertificatesByTemplate(tok, NULL, cachedList,                                                        cktemplate, ctsize,	                                                callback, arg);	if (nssrv == PR_FAILURE) {	    return PR_FAILURE;	}    }    return PR_SUCCESS;}