Lines Matching refs:ts

54     X509_STORE *ts;  in set_up()  local
60 ts = X509_STORE_new(); in set_up()
62 if (ts == NULL in set_up()
64 || !OSSL_CMP_CTX_set0_trusted(fixture->cmp_ctx, ts) in set_up()
67 X509_STORE_free(ts); in set_up()
70 X509_VERIFY_PARAM_set_time(X509_STORE_get0_param(ts), test_time_valid); in set_up()
71 X509_STORE_set_verify_cb(ts, X509_STORE_CTX_print_verify_cb); in set_up()
147 X509_STORE *ts = OSSL_CMP_CTX_get0_trusted(fixture->cmp_ctx); in execute_validate_cert_path_test() local
150 ts, fixture->cert)); in execute_validate_cert_path_test()
224 X509_STORE *ts; in test_validate_msg_signature_partial_chain() local
229 ts = OSSL_CMP_CTX_get0_trusted(fixture->cmp_ctx); in test_validate_msg_signature_partial_chain()
231 if (ts == NULL in test_validate_msg_signature_partial_chain()
237 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in test_validate_msg_signature_partial_chain()
404 X509_STORE *ts = OSSL_CMP_CTX_get0_trusted((*fixture)->cmp_ctx); in setup_path() local
405 X509_VERIFY_PARAM *vpm = X509_STORE_get0_param(ts); in setup_path()
607 struct tm ts = { 0 }; in OPT_TEST_DECLARE_USAGE() local
609 ts.tm_year = 2018 - 1900; /* 2018 */ in OPT_TEST_DECLARE_USAGE()
610 ts.tm_mon = 1; /* February */ in OPT_TEST_DECLARE_USAGE()
611 ts.tm_mday = 18; /* 18th */ in OPT_TEST_DECLARE_USAGE()
612 test_time_valid = mktime(&ts); /* February 18th 2018 */ in OPT_TEST_DECLARE_USAGE()
613 ts.tm_year += 10; /* February 18th 2028 */ in OPT_TEST_DECLARE_USAGE()
614 test_time_after_expiration = mktime(&ts); in OPT_TEST_DECLARE_USAGE()