Lines Matching defs:octmp
125 ASN1_STRING *octmp;
128 if (!(octmp = ASN1_STRING_new ())) {
132 if (oct) *oct = octmp;
133 } else octmp = *oct;
135 if (!(octmp->length = i2d(obj, NULL))) {
139 if (!(p = OPENSSL_malloc (octmp->length))) {
143 octmp->data = p;
145 return octmp;
154 ASN1_STRING *octmp;
157 if (!(octmp = ASN1_STRING_new ())) {
161 if (oct) *oct = octmp;
162 } else octmp = *oct;
164 if(octmp->data) {
165 OPENSSL_free(octmp->data);
166 octmp->data = NULL;
169 if (!(octmp->length = ASN1_item_i2d(obj, &octmp->data, it))) {
173 if (!octmp->data) {
177 return octmp;