Lines Matching refs:x509_format_tests
52 static TESTDATA_FORMAT x509_format_tests[] = { variable
357 if (x509_format_tests[idx].set_string) { in test_x509_time()
366 result = ASN1_TIME_set_string_X509(t, x509_format_tests[idx].data); in test_x509_time()
368 if (!TEST_int_eq(result, x509_format_tests[idx].expected)) { in test_x509_time()
370 idx, x509_format_tests[idx].expected, result); in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
376 if (!TEST_int_eq(t->type, x509_format_tests[idx].expected_type)) { in test_x509_time()
378 idx, x509_format_tests[idx].expected_type, t->type); in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
386 x509_format_tests[idx].expected_string, in test_x509_time()
387 strlen(x509_format_tests[idx].expected_string))) { in test_x509_time()
389 idx, x509_format_tests[idx].expected_string, t->length, in test_x509_time()
599 ADD_ALL_TESTS(test_x509_time, OSSL_NELEM(x509_format_tests)); in setup_tests()