Lines Matching refs:ustr
149 utf82ascstr(ASN1_UTF8STRING *ustr)
157 if (ustr == NULL || ustr->type != V_ASN1_UTF8STRING) {
166 ret = ASN1_mbstring_copy(&astr, ustr->data, ustr->length, mbflag,
331 ASN1_UTF8STRING *ustr = NULL;
347 ustr = ASN1_UTF8STRING_new();
348 if (ustr == NULL) {
354 ASN1_UTF8STRING_free(ustr);
359 if (ASN1_STRING_set(ustr, fname, len) == 0) {
360 ASN1_UTF8STRING_free(ustr);
371 if (nid == NID_friendlyName && ustr != NULL) {
375 if (s != NULL && s->type == ustr->type &&
377 res = ASN1_STRING_cmp(s, ustr);
395 if (ustr != NULL) {
396 ASN1_UTF8STRING_free(ustr);