Check that an ASN1_TIME value has valid UTCTime or GeneralizedTime syntax.
Declared in <openssl/asn1.h>
<openssl/asn1.h>
int ASN1_TIME_check(ASN1_TIME const* t);
1 if the encoding is syntactically valid, or 0 otherwise.