Lines Matching refs:av
44 static int check_asn1_string(const ASN1_TYPE *av, const char *txt);
473 static int check_asn1_string(const ASN1_TYPE *av, const char *txt) in check_asn1_string() argument
478 if (!TEST_ptr(av)) in check_asn1_string()
481 switch (av->type) { in check_asn1_string()
483 value = OPENSSL_uni2asc(av->value.bmpstring->data, in check_asn1_string()
484 av->value.bmpstring->length); in check_asn1_string()
490 if (!TEST_mem_eq(txt, strlen(txt), (char *)av->value.utf8string->data, in check_asn1_string()
491 av->value.utf8string->length)) in check_asn1_string()
497 (char *)av->value.octet_string->data, in check_asn1_string()
498 av->value.octet_string->length)) in check_asn1_string()
516 ASN1_TYPE *av; in check_attrs() local
535 av = X509_ATTRIBUTE_get0_type(attr, j); in check_attrs()
536 if (!TEST_true(check_asn1_string(av, p_attr->value))) in check_attrs()