Home
last modified time | relevance | path

Searched refs:offset_sec (Results 1 – 11 of 11) sorted by relevance

/openssl/crypto/
H A Do_time.c69 static int julian_adj(const struct tm *tm, int off_day, long offset_sec,
72 int OPENSSL_gmtime_adj(struct tm *tm, int off_day, long offset_sec) in OPENSSL_gmtime_adj() argument
78 if (!julian_adj(tm, off_day, offset_sec, &time_jd, &time_sec)) in OPENSSL_gmtime_adj()
133 static int julian_adj(const struct tm *tm, int off_day, long offset_sec, in julian_adj() argument
140 offset_day = offset_sec / SECS_PER_DAY; in julian_adj()
142 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()
/openssl/crypto/asn1/
H A Da_gentm.c64 long offset_sec) in ASN1_GENERALIZEDTIME_adj() argument
73 if (offset_day || offset_sec) { in ASN1_GENERALIZEDTIME_adj()
74 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_GENERALIZEDTIME_adj()
H A Da_utctm.c58 int offset_day, long offset_sec) in ASN1_UTCTIME_adj() argument
67 if (offset_day || offset_sec) { in ASN1_UTCTIME_adj()
68 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_UTCTIME_adj()
H A Da_time.c329 int offset_day, long offset_sec) in ASN1_TIME_adj() argument
339 if (offset_day || offset_sec) { in ASN1_TIME_adj()
340 if (!OPENSSL_gmtime_adj(ts, offset_day, offset_sec)) in ASN1_TIME_adj()
/openssl/doc/man3/
H A DX509_cmp_time.pod15 ASN1_TIME *X509_time_adj(ASN1_TIME *asn1_time, long offset_sec, time_t *in_tm);
17 offset_sec, time_t *in_tm);
18 ASN1_TIME *X509_gmtime_adj(ASN1_TIME *asn1_time, long offset_sec);
33 I<offset_day> and I<offset_sec> after I<in_tm>.
36 I<offset_sec> after I<in_tm>. This method can only handle second
50 I<offset_sec> after the current time. It is equivalent to calling
H A DOPENSSL_gmtime.pod14 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
23 OPENSSL_gmtime_adj() adds the offsets in I<offset_day> and I<offset_sec> to I<tm>.
H A DASN1_TIME_set.pod27 long offset_sec);
29 int offset_day, long offset_sec);
32 long offset_sec);
75 by the time I<offset_day> and I<offset_sec> after the time_t value I<t>.
76 The values of I<offset_day> or I<offset_sec> can be negative to set a
77 time before I<t>. The I<offset_sec> value can also exceed the number of
168 in the I<offset_sec> and I<offset_day> parameters instead of directly
/openssl/crypto/x509/
H A Dx509_vfy.c2072 ASN1_TIME *X509_time_adj(ASN1_TIME *s, long offset_sec, time_t *in_tm) in X509_time_adj() argument
2074 return X509_time_adj_ex(s, 0, offset_sec, in_tm); in X509_time_adj()
2078 int offset_day, long offset_sec, time_t *in_tm) in X509_time_adj_ex() argument
2089 return ASN1_UTCTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
2091 return ASN1_GENERALIZEDTIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
2093 return ASN1_TIME_adj(s, t, offset_day, offset_sec); in X509_time_adj_ex()
/openssl/include/openssl/
H A Dasn1.h.in621 int offset_day, long offset_sec);
630 long offset_sec);
680 int offset_day, long offset_sec);
H A Dcrypto.h.in429 int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
H A Dx509.h.in507 int offset_day, long offset_sec, time_t *t);

Completed in 29 milliseconds