str = (char *)t->data; if (*str >= '5') strcpy(str, "19");
if (t->data[0] >= '5') strcpy(str, "19");
ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *t, ASN1_GENERALIZEDTIME **out)	{	ASN1_GENERALIZEDTIME *ret;	char *str;	if (!ASN1_TIME_check(t)) return NULL;	if (!out || !*out)		{		if (!(ret = ASN1_GENERALIZEDTIME_new ()))			return NULL;		if (out) *out = ret;		}	else ret = *out;	/* If already GeneralizedTime just copy across */	if (t->type == V_ASN1_GENERALIZEDTIME)		{		if(!ASN1_STRING_set(ret, t->data, t->length))			return NULL;		return ret;		}	/* grow the string */	if (!ASN1_STRING_set(ret, NULL, t->length + 2))		return NULL;	/* Work out the century and prepend */	str = (char *)t->data;	if (*str >= '5') strcpy(str, "19");	else strcpy(str, "20");	strcat(str, (char *)t->data);	return ret;	}