ASN1_put_object(pp,0,ret,V_ASN1_ENUMERATED,V_ASN1_UNIVERSAL);
ASN1_put_object(pp,0,len,V_ASN1_ENUMERATED,V_ASN1_UNIVERSAL);
int i2d_ASN1_ENUMERATED(ASN1_ENUMERATED *a, unsigned char **pp){	int len, ret;	if(!a) return 0;	len = i2c_ASN1_INTEGER(a, NULL);		ret=ASN1_object_size(0,len,V_ASN1_ENUMERATED);	if(pp) {		ASN1_put_object(pp,0,ret,V_ASN1_ENUMERATED,V_ASN1_UNIVERSAL);		i2c_ASN1_INTEGER(a, pp);		}	return ret;}