Set an ASN1_UTCTIME from t adjusted by a day/second offset.
Synopsis
Declared in <openssl/asn1.h>
ASN1_UTCTIME*
ASN1_UTCTIME_adj(
ASN1_UTCTIME* s,
time_t t,
int offset_day,
long offset_sec);
Return Value
The UTCTIME on success (possibly newly allocated), or NULL on error.
Parameters
Name |
Description |
s |
Existing UTCTIME to reuse, or NULL to allocate a new one. |
t |
Base calendar time (seconds since the Epoch). |
offset_day |
Days to add to |
offset_sec |
Seconds to add after the day offset (may be negative). |
Created with MrDocs