Lines Matching refs:ia5
70 static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method, ASN1_IA5STRING *ia5);
85 ASN1_IA5STRING *ia5) in i2s_ASN1_IA5STRING() argument
88 if(!ia5 || !ia5->length) return NULL; in i2s_ASN1_IA5STRING()
89 if(!(tmp = OPENSSL_malloc(ia5->length + 1))) { in i2s_ASN1_IA5STRING()
93 memcpy(tmp, ia5->data, ia5->length); in i2s_ASN1_IA5STRING()
94 tmp[ia5->length] = 0; in i2s_ASN1_IA5STRING()
101 ASN1_IA5STRING *ia5; in s2i_ASN1_IA5STRING() local
106 if(!(ia5 = M_ASN1_IA5STRING_new())) goto err; in s2i_ASN1_IA5STRING()
107 if(!ASN1_STRING_set((ASN1_STRING *)ia5, (unsigned char*)str, in s2i_ASN1_IA5STRING()
109 M_ASN1_IA5STRING_free(ia5); in s2i_ASN1_IA5STRING()
112 return ia5; in s2i_ASN1_IA5STRING()