Home
last modified time | relevance | path

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

/openssl-master/test/
A Dasn1_time_test.c27 int cmp_result; /* comparison to baseline result */ member
147 } else if (!((td->cmp_result == 0 && TEST_true((day == 0 && sec == 0))) || in test_table()
148 (td->cmp_result == -1 && TEST_true((day < 0 || sec < 0))) || in test_table()
149 (td->cmp_result == 1 && TEST_true((day > 0 || sec > 0))))) { in test_table()
154 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(&atime, gtime_t), td->cmp_result)) { in test_table()
202 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table()
226 if (!TEST_int_eq(ASN1_TIME_cmp_time_t(ptime, gtime_t), td->cmp_result)) { in test_table()
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 5 milliseconds