experimental function to convert ASN1_TIME to tm, not used or even compiled in yet