p>X509_cmp_time() and X509_cmp_current_time() return -1 if <i>asn1_time</i> is earlier than, or equal to, <i>in_tm</i> (resp. current time), and 1 otherwise. These methods return 0 on error.</p>

<p>X509_cmp_timeframe() returns 0 if <i>vpm</i> is not NULL and the verification parameters do not contain <b>X509_V_FLAG_USE_CHECK_TIME</b> but do contain <b>X509_V_FLAG_NO_CHECK_TIME</b>. Otherwise it returns 1 if the end time is not NULL and the reference time (which has determined as stated above) is past the e