Home
last modified time | relevance | path

Searched refs:cmp_result (Results 1 – 2 of 2) sorted by relevance

/openssl/test/
H A Dasn1_time_test.c29 int cmp_result; /* comparison to baseline result */ member
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()
205 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, gtime_t), td->cmp_result)) { in test_table()
253 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table()
277 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table()
H A Dx509_time_test.c281 int cmp_result, failed = 0; in test_x509_cmp_time_current() local
286 cmp_result = X509_cmp_time(asn1_before, NULL); in test_x509_cmp_time_current()
287 if (!TEST_int_eq(cmp_result, -1)) in test_x509_cmp_time_current()
290 cmp_result = X509_cmp_time(asn1_after, NULL); in test_x509_cmp_time_current()
291 if (!TEST_int_eq(cmp_result, 1)) in test_x509_cmp_time_current()

Completed in 24 milliseconds