return nssUTF8_PrintableMatch(atav1->value, atav2->value, equalp);
*equalp = nssUTF8_PrintableMatch(atav1->value, atav2->value, &status); return status;
nssATAV_Compare(  NSSATAV *atav1,  NSSATAV *atav2,  PRBool *equalp){  nssStringType comparison;  PRUint32 len1;  PRUint32 len2;#ifdef DEBUG  if( PR_SUCCESS != nssATAV_verifyPointer(atav1) ) {    return PR_FAILURE;  }  if( PR_SUCCESS != nssATAV_verifyPointer(atav2) ) {    return PR_FAILURE;  }  if( (PRBool *)NULL == equalp ) {    nss_SetError(NSS_ERROR_INVALID_ARGUMENT);    return PR_FAILURE;  }#endif /* DEBUG */  if( atav1->oid != atav2->oid ) {    *equalp = PR_FALSE;    return PR_SUCCESS;  }  if( atav1->stringForm != atav2->stringForm ) {    if( (nssStringType_PrintableString == atav1->stringForm) ||        (nssStringType_PrintableString == atav2->stringForm) ) {      comparison = nssStringType_PrintableString;    } else if( (nssStringType_PHGString == atav1->stringForm) ||               (nssStringType_PHGString == atav2->stringForm) ) {      comparison = nssStringType_PHGString;    } else {      comparison = atav1->stringForm;    }  } else {    comparison = atav1->stringForm;  }  switch( comparison ) {  case nssStringType_DirectoryString:    nss_SetError(NSS_ERROR_INTERNAL_ERROR);    return PR_FAILURE;  case nssStringType_TeletexString:    break;  case nssStringType_PrintableString:    return nssUTF8_PrintableMatch(atav1->value, atav2->value,                                   equalp);    /* Case-insensitive, with whitespace reduction */    break;  case nssStringType_UniversalString:    break;  case nssStringType_BMPString:    break;  case nssStringType_UTF8String:    break;  case nssStringType_PHGString:    /* Case-insensitive (XXX fgmr, actually see draft-11 pg. 21) */    return nssUTF8_CaseIgnoreMatch(atav1->value, atav2->value,                                    equalp);  case nssStringType_Unknown:    break;  }    if( PR_SUCCESS != nssUTF8_Size(atav1->value, &len1) ) {    return PR_FAILURE;  }  if( PR_SUCCESS != nssUTF8_Size(atav2->value, &len2) ) {    return PR_FAILURE;  }  if( len1 != len2 ) {    *equalp = PR_FALSE;    return PR_SUCCESS;  }  return nsslibc_compare(atav1->value, atav2->value, len1, equalp);}