[#ASN1_TIME_cmp_time_t] = ASN1_TIME_cmp_time_t :mrdocs: Compare an ASN.1 time value with a calendar time_t. == Synopsis Declared in `<openssl/asn1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ASN1_TIME_cmp_time_t( xref:ASN1_TIME.adoc[ASN1_TIME] const* s, time_t t); ---- == Return Value ‐1 if `s` is before `t,` 0 if equal, 1 if after, or ‐2 on error. == Parameters [cols="1,4"] |=== | Name| Description | *s* | ASN1_TIME (UTCTime or GeneralizedTime) to compare. | *t* | POSIX time to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#