Searched refs:day (Results 1 – 9 of 9) sorted by relevance
/openssl/test/ |
H A D | time_offset_test.c | 72 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 D | asn1_time_test.c | 167 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, >ime, &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 D | a_utctm.c | 78 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 D | a_time.c | 554 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 D | ASN1_TIME_set.pod | 78 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 D | OPENSSL_gmtime.pod | 40 than the number of seconds per day (3600). Leap seconds are not considered.
|
/openssl/.github/workflows/ |
H A D | static-analysis.yml | 10 #Run once a day
|
H A D | coveralls.yml | 10 # Run once a day
|
/openssl/crypto/x509/ |
H A D | x509_vfy.c | 1172 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 22 milliseconds