Compute the day and second difference between two ASN.1 time values.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_TIME_diff(
int* pday,
int* psec,
ASN1_TIME const* from,
ASN1_TIME const* to);
Return Value
1 on success, or 0 if either time is invalid.
Parameters
Name |
Description |
pday |
Receives the whole‐day difference ( |
psec |
Receives the remaining seconds difference beyond |
from |
Starting time. |
to |
Ending time. |
Created with MrDocs