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