if (crv != CKR_OK) { PORT_SetError(PK11_MapError(crv)); }
PK11_GetModInfo(SECMODModule *mod,CK_INFO *info) {    CK_RV crv;    if (mod->functionList == NULL) return SECFailure;    crv = PK11_GETTAB(mod)->C_GetInfo(info);    return (crv == CKR_OK) ? SECSuccess : SECFailure;}