ASN1err(ASN1_F_ASN1_PACK_STRING,ERR_R_MALLOC_FAILURE);
ASN1err(ASN1_F_ASN1_ITEM_PACK,ERR_R_MALLOC_FAILURE);
ASN1_STRING *ASN1_item_pack(void *obj, const ASN1_ITEM *it, ASN1_STRING **oct){	ASN1_STRING *octmp;	if (!oct || !*oct) {		if (!(octmp = ASN1_STRING_new ())) {			ASN1err(ASN1_F_ASN1_PACK_STRING,ERR_R_MALLOC_FAILURE);			return NULL;		}		if (oct) *oct = octmp;	} else octmp = *oct;	if(octmp->data) {		OPENSSL_free(octmp->data);		octmp->data = NULL;	}			if (!(octmp->length = ASN1_item_i2d(obj, &octmp->data, it))) {		ASN1err(ASN1_F_ASN1_PACK_STRING,ASN1_R_ENCODE_ERROR);		return NULL;	}	if (!octmp->data) {		ASN1err(ASN1_F_ASN1_PACK_STRING,ERR_R_MALLOC_FAILURE);		return NULL;	}	return octmp;}