Lines Matching defs:test_no

198 asn1_compare_bytes(int test_no, const unsigned char *d1,
203 "(%d != %d)\n", test_no, len1, len2);
207 fprintf(stderr, "FAIL: test %d - bytes differ\n", test_no);
218 asn1_compare_str(int test_no, const struct asn1_string_st *asn1str,
225 "(%d != %d)\n", test_no, asn1str->length, length);
230 "('%s' != '%s')\n", test_no, asn1str->data, str);
238 asn1_invtime_test(int test_no, const struct asn1_time_test *att, int gen)
254 "GENERALIZEDTIME string '%s'\n", test_no, att->str);
265 "string '%s'\n", test_no, att->str);
270 "string '%s'\n", test_no, att->str);
275 "string '%s'\n", test_no, att->str);
290 asn1_gentime_test(int test_no, const struct asn1_time_test *att)
302 test_no, att->str);
311 test_no, att->str);
314 if (asn1_compare_str(test_no, gt, att->str) != 0)
319 test_no, att->str);
326 test_no);
335 test_no, (long long)b, (long long)a);
341 "failed\n", test_no);
345 if (asn1_compare_bytes(test_no, p, der, len, strlen(der)) != 0)
351 "failed\n", test_no);
354 if (asn1_compare_str(test_no, gt, att->str) != 0)
361 test_no, (long long)att->time);
364 if (asn1_compare_str(test_no, gt, att->data) != 0)
377 asn1_utctime_test(int test_no, const struct asn1_time_test *att)
387 test_no, att->str);
396 test_no, att->str);
399 if (asn1_compare_str(test_no, ut, att->str) != 0)
404 test_no);
408 if (asn1_compare_bytes(test_no, p, der, len, strlen(der)) != 0)
414 test_no);
417 if (asn1_compare_str(test_no, ut, att->str) != 0)
424 test_no, (long long)att->time);
427 if (asn1_compare_str(test_no, ut, att->data) != 0)
440 asn1_time_test(int test_no, const struct asn1_time_test *att, int type)
448 test_no, att->str);
464 test_no, att->str);
473 test_no, att->str);
484 test_no, t->type, type);
493 test_no, att->str);
499 test_no, t->data);
505 test_no, t->type, tx509->type);
516 test_no, t->data);
522 test_no, t->type, tx509->type);