Compare two ASN.1 time values chronologically.
Declared in <openssl/asn1.h>
int
ASN1_TIME_compare(
ASN1_TIME const* a,
ASN1_TIME const* b);
1 if a is later than b, -1 if a is earlier, 0 if equal, or -2 if either time is invalid.
| Name | Description |
|---|---|
| a | First time. |
| b | Second time. |