Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dx509_time_test.c137 static TESTDATA x509_cmp_tests[] = { variable
262 t.type = x509_cmp_tests[idx].type; in test_x509_cmp_time()
263 t.data = (unsigned char*)(x509_cmp_tests[idx].data); in test_x509_cmp_time()
264 t.length = strlen(x509_cmp_tests[idx].data); in test_x509_cmp_time()
267 result = X509_cmp_time(&t, &x509_cmp_tests[idx].cmp_time); in test_x509_cmp_time()
268 if (!TEST_int_eq(result, x509_cmp_tests[idx].expected)) { in test_x509_cmp_time()
270 idx, x509_cmp_tests[idx].expected, result); in test_x509_cmp_time()
598 ADD_ALL_TESTS(test_x509_cmp_time, OSSL_NELEM(x509_cmp_tests)); in setup_tests()