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