Searched refs:octmp (Results 1 – 2 of 2) sorted by relevance
125 ASN1_STRING *octmp; in ASN1_pack_string() local128 if (!(octmp = ASN1_STRING_new ())) { in ASN1_pack_string()132 if (oct) *oct = octmp; in ASN1_pack_string()133 } else octmp = *oct; in ASN1_pack_string()135 if (!(octmp->length = i2d(obj, NULL))) { in ASN1_pack_string()139 if (!(p = OPENSSL_malloc (octmp->length))) { in ASN1_pack_string()143 octmp->data = p; in ASN1_pack_string()145 return octmp; in ASN1_pack_string()149 ASN1_STRING_free(octmp); in ASN1_pack_string()162 ASN1_STRING *octmp; in ASN1_item_pack() local[all …]
67 ASN1_STRING *octmp; in ASN1_item_pack() local70 if (!(octmp = ASN1_STRING_new ())) { in ASN1_item_pack()74 if (oct) *oct = octmp; in ASN1_item_pack()75 } else octmp = *oct; in ASN1_item_pack()77 if(octmp->data) { in ASN1_item_pack()78 OPENSSL_free(octmp->data); in ASN1_item_pack()79 octmp->data = NULL; in ASN1_item_pack()82 if (!(octmp->length = ASN1_item_i2d(obj, &octmp->data, it))) { in ASN1_item_pack()86 if (!octmp->data) { in ASN1_item_pack()90 return octmp; in ASN1_item_pack()