ASN1_TIME_set_tm
if (!ASN1_TIME_set_tm(x509time, &tm1))
ASN1_TIME *ASN1_TIME_set_tm(ASN1_TIME *s, struct tm *tm);