Lines Matching refs:ia5
66 static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
81 ASN1_IA5STRING *ia5)
84 if(!ia5 || !ia5->length) return NULL;
85 if(!(tmp = OPENSSL_malloc(ia5->length + 1))) {
89 memcpy(tmp, ia5->data, ia5->length);
90 tmp[ia5->length] = 0;
97 ASN1_IA5STRING *ia5;
102 if(!(ia5 = M_ASN1_IA5STRING_new())) goto err;
103 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str,
105 M_ASN1_IA5STRING_free(ia5);
109 ebcdic2ascii(ia5->data, ia5->data, ia5->length);
111 return ia5;