Lines Matching refs:NULL

56         "20170217180105Z", 0, 1, -1, NULL,
60 "20170229180105Z", 0, 0, -1, NULL,
64 "20160229180105Z", 0, 1, -1, NULL,
68 "201702171801Z", 0, 0, -1, NULL,
72 "20170217180105.001Z", 0, 0, -1, NULL,
76 "20170217180105+0800", 0, 0, -1, NULL,
80 "201702171801Z", 1, 0, -1, NULL,
84 "20170217180105.001Z", 1, 0, -1, NULL,
88 "20170217180105+0800", 1, 0, -1, NULL,
105 "1702171801Z", 0, 0, -1, NULL,
109 "050229180101Z", 0, 0, -1, NULL,
113 "040229180101Z", 0, 1, -1, NULL,
117 "170217180154+0800", 0, 0, -1, NULL,
121 "1702171801Z", 1, 0, -1, NULL,
125 "170217180154+0800", 1, 0, -1, NULL,
278 time_t now = time(NULL); in test_x509_cmp_time_current()
280 ASN1_TIME *asn1_before = NULL, *asn1_after = NULL; in test_x509_cmp_time_current()
283 asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); in test_x509_cmp_time_current()
284 asn1_after = ASN1_TIME_adj(NULL, now, 1, 0); in test_x509_cmp_time_current()
286 cmp_result = X509_cmp_time(asn1_before, NULL); in test_x509_cmp_time_current()
290 cmp_result = X509_cmp_time(asn1_after, NULL); in test_x509_cmp_time_current()
305 int always_0 = vpm != NULL in test_X509_cmp_timeframe_vpm()
309 return asn1_before != NULL && asn1_mid != NULL && asn1_after != NULL in test_X509_cmp_timeframe_vpm()
311 && TEST_int_eq(X509_cmp_timeframe(vpm, asn1_before, NULL), 0) in test_X509_cmp_timeframe_vpm()
312 && TEST_int_eq(X509_cmp_timeframe(vpm, NULL, asn1_after), 0) in test_X509_cmp_timeframe_vpm()
313 && TEST_int_eq(X509_cmp_timeframe(vpm, NULL, NULL), 0) in test_X509_cmp_timeframe_vpm()
324 time_t now = time(NULL); in test_X509_cmp_timeframe()
325 ASN1_TIME *asn1_mid = ASN1_TIME_adj(NULL, now, 0, 0); in test_X509_cmp_timeframe()
327 ASN1_TIME *asn1_before = ASN1_TIME_adj(NULL, now, -1, 0); in test_X509_cmp_timeframe()
328 ASN1_TIME *asn1_after = ASN1_TIME_adj(NULL, now, 1, 0); in test_X509_cmp_timeframe()
332 if (vpm == NULL) in test_X509_cmp_timeframe()
334 res = test_X509_cmp_timeframe_vpm(NULL, asn1_before, asn1_mid, asn1_after) in test_X509_cmp_timeframe()
354 ASN1_TIME *t = NULL; in test_x509_time()
360 if (t == NULL) { in test_x509_time()
375 if (t != NULL && x509_format_tests[idx].expected_type != -1) { in test_x509_time()
384 if (t != NULL && x509_format_tests[idx].expected_string) { in test_x509_time()
397 if (t != NULL) in test_x509_time()
461 ASN1_TIME *a = NULL; in test_days()