Home
last modified time | relevance | path

Searched refs:day (Results 1 – 9 of 9) sorted by relevance

/openssl/test/
H A Dtime_offset_test.c72 int day, sec; in test_offset() local
79 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) { in test_offset()
83 if (day > 0) in test_offset()
85 else if (day < 0) in test_offset()
95 TEST_info("ASN1_TIME_diff() test failed for %s day=%d sec=%d\n", at.data, day, sec); in test_offset()
H A Dasn1_time_test.c167 int day, sec; in test_table() local
186 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &atime, &atime))) { in test_table()
190 if (!TEST_int_eq(day, 0) || !TEST_int_eq(sec, 0)) { in test_table()
195 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &gtime, &atime))) { in test_table()
198 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table()
199 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table()
200 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { in test_table()
248 day = sec = 0; in test_table()
249 …if (!TEST_true(ASN1_TIME_diff(&day, &sec, ptime, &atime)) || !TEST_int_eq(day, 0) || !TEST_int_eq(… in test_table()
272 day = sec = 0; in test_table()
[all …]
/openssl/crypto/asn1/
H A Da_utctm.c78 int day, sec; in ASN1_UTCTIME_cmp_time_t() local
86 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_UTCTIME_cmp_time_t()
89 if (day > 0 || sec > 0) in ASN1_UTCTIME_cmp_time_t()
91 if (day < 0 || sec < 0) in ASN1_UTCTIME_cmp_time_t()
H A Da_time.c554 int day, sec; in ASN1_TIME_cmp_time_t() local
562 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) in ASN1_TIME_cmp_time_t()
565 if (day > 0 || sec > 0) in ASN1_TIME_cmp_time_t()
567 if (day < 0 || sec < 0) in ASN1_TIME_cmp_time_t()
584 int day, sec; in ASN1_TIME_compare() local
586 if (!ASN1_TIME_diff(&day, &sec, b, a)) in ASN1_TIME_compare()
588 if (day > 0 || sec > 0) in ASN1_TIME_compare()
590 if (day < 0 || sec < 0) in ASN1_TIME_compare()
/openssl/doc/man3/
H A DASN1_TIME_set.pod78 seconds in a day. If I<s> is NULL a new structure is allocated
131 in a day. If I<from> or I<to> is NULL the current time is used.
253 int day, sec;
255 if (!ASN1_TIME_diff(&day, &sec, NULL, to))
258 if (day > 0 || sec > 0)
260 else if (day < 0 || sec < 0)
H A DOPENSSL_gmtime.pod40 than the number of seconds per day (3600). Leap seconds are not considered.
/openssl/.github/workflows/
H A Dstatic-analysis.yml10 #Run once a day
H A Dcoveralls.yml10 # Run once a day
/openssl/crypto/x509/
H A Dx509_vfy.c1172 int day, sec; in get_crl_sk() local
1174 if (ASN1_TIME_diff(&day, &sec, X509_CRL_get0_lastUpdate(best_crl), in get_crl_sk()
1181 if (day <= 0 && sec <= 0) in get_crl_sk()
1977 int i, day, sec, ret = 0; in X509_cmp_time() local
2028 if (ASN1_TIME_diff(&day, &sec, ctm, asn1_cmp_time) == 0) in X509_cmp_time()
2035 ret = (day >= 0 && sec >= 0) ? -1 : 1; in X509_cmp_time()

Completed in 26 milliseconds