Lines Matching refs:x509_format_tests
52 static TESTDATA_FORMAT x509_format_tests[] = { variable
305 if (x509_format_tests[idx].set_string) { in test_x509_time()
314 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
316 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
318 idx, x509_format_tests[idx].expected, result); in test_x509_time()
323 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
324 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
326 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
332 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
334 x509_format_tests[idx].expected_string, in test_x509_time()
335 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
337 idx, x509_format_tests[idx].expected_string, t->length, in test_x509_time()
491 ADD_ALL_TESTS(test_x509_time, OSSL_NELEM(x509_format_tests)); in setup_tests()