Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 4 of 4) sorted by relevance

/openssl/test/
H A Dpunycode_test.c155 const struct puny_test *tc = puny_cases + n; in test_punycode() local
160 if (!TEST_true(ossl_punycode_decode(tc->encoded, strlen(tc->encoded), in test_punycode()
163 for (i = 0; i < OSSL_NELEM(tc->raw); i++) in test_punycode()
164 if (tc->raw[i] == 0) in test_punycode()
167 tc->raw, i * sizeof(*tc->raw))) in test_punycode()
H A Dquic_multistream_test.c1706 const QUIC_TERMINATE_CAUSE *tc; in run_script_worker() local
1716 if (!TEST_ptr(tc = ossl_quic_tserver_get_terminate_cause(ACQUIRE_S()))) in run_script_worker()
1719 if (!TEST_uint64_t_eq(error_code, tc->error_code) in run_script_worker()
1720 || !TEST_int_eq(expect_app, tc->app) in run_script_worker()
1721 || !TEST_int_eq(expect_remote, tc->remote)) in run_script_worker()
4421 const QUIC_TERMINATE_CAUSE *tc = ossl_quic_tserver_get_terminate_cause(ACQUIRE_S()); in check_shutdown_reason() local
4423 if (tc == NULL) { in check_shutdown_reason()
4428 if (!TEST_size_t_ge(tc->reason_len, 50) in check_shutdown_reason()
4429 || !TEST_mem_eq(long_reason, tc->reason_len, in check_shutdown_reason()
4430 tc->reason, tc->reason_len)) in check_shutdown_reason()
/openssl/crypto/x509/
H A Dv3_ac_tgt.c29 OSSL_TARGET_CERT *tc,
160 OSSL_TARGET_CERT *tc, in i2r_TARGET_CERT() argument
164 if (tc->targetCertificate != NULL) { in i2r_TARGET_CERT()
166 i2r_ISSUER_SERIAL(method, tc->targetCertificate, out, indent + 2); in i2r_TARGET_CERT()
168 if (tc->targetName != NULL) { in i2r_TARGET_CERT()
170 GENERAL_NAME_print(out, tc->targetName); in i2r_TARGET_CERT()
173 if (tc->certDigestInfo != NULL) { in i2r_TARGET_CERT()
175 i2r_OBJECT_DIGEST_INFO(method, tc->certDigestInfo, out, indent + 2); in i2r_TARGET_CERT()
/openssl/ssl/quic/
H A Dquic_impl.c3854 const QUIC_TERMINATE_CAUSE *tc; in ossl_quic_get_conn_close_info() local
3859 tc = ossl_quic_channel_get_terminate_cause(ctx.qc->ch); in ossl_quic_get_conn_close_info()
3860 if (tc == NULL) in ossl_quic_get_conn_close_info()
3863 info->error_code = tc->error_code; in ossl_quic_get_conn_close_info()
3864 info->frame_type = tc->frame_type; in ossl_quic_get_conn_close_info()
3865 info->reason = tc->reason; in ossl_quic_get_conn_close_info()
3866 info->reason_len = tc->reason_len; in ossl_quic_get_conn_close_info()
3868 if (!tc->remote) in ossl_quic_get_conn_close_info()
3870 if (!tc->app) in ossl_quic_get_conn_close_info()

Completed in 53 milliseconds