SSL_TEST_CTX
static int renegotiate_op(const SSL_TEST_CTX *test_ctx)
static int post_handshake_op(const SSL_TEST_CTX *test_ctx)
static connect_phase_t next_phase(const SSL_TEST_CTX *test_ctx,
static void do_connect_step(const SSL_TEST_CTX *test_ctx, PEER *peer,
const SSL_TEST_CTX *test_ctx, const SSL_TEST_EXTRA_CONF *extra,
const SSL_TEST_CTX *test_ctx)
const SSL_TEST_CTX *test,
static void do_reneg_setup_step(const SSL_TEST_CTX *test_ctx, PEER *peer)
const SSL_TEST_CTX *test_ctx);
__owur static int parse_client_alert(SSL_TEST_CTX *test_ctx, const char *value)
__owur static int parse_server_alert(SSL_TEST_CTX *test_ctx, const char *value)
__owur static int parse_protocol(SSL_TEST_CTX *test_ctx, const char *value)
__owur static int parse_expected_servername(SSL_TEST_CTX *test_ctx,
__owur static int parse_session_ticket(SSL_TEST_CTX *test_ctx, const char *value)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, compression_expected)
__owur static int parse_session_id(SSL_TEST_CTX *test_ctx, const char *value)
__owur static int parse_test_method(SSL_TEST_CTX *test_ctx, const char *value)
IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, expected_npn_protocol)
IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, expected_alpn_protocol)
IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, expected_session_ticket_app_data)
__owur static int parse_handshake_mode(SSL_TEST_CTX *test_ctx, const char *value)
__owur static int parse_key_update_type(SSL_TEST_CTX *test_ctx, const char *value)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, resumption_expected)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, use_sctp)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, compress_certificates)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, enable_client_sctp_label_bug)
IMPLEMENT_SSL_TEST_BOOL_OPTION(SSL_TEST_CTX, test, enable_server_sctp_label_bug)
IMPLEMENT_SSL_TEST_INT_OPTION(SSL_TEST_CTX, test, app_data_size)
IMPLEMENT_SSL_TEST_INT_OPTION(SSL_TEST_CTX, test, max_fragment_size)
__owur static int parse_expected_tmp_key_type(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_server_cert_type(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_server_sign_type(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_client_cert_type(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_client_sign_type(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_server_sign_hash(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_client_sign_hash(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_server_ca_names(SSL_TEST_CTX *test_ctx,
__owur static int parse_expected_client_ca_names(SSL_TEST_CTX *test_ctx,
IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, expected_cipher)
IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CTX, test, fips_version)
int (*parse)(SSL_TEST_CTX *test_ctx, const char *value);
SSL_TEST_CTX *SSL_TEST_CTX_new(OSSL_LIB_CTX *libctx)
SSL_TEST_CTX *ret;
static void ssl_test_ctx_free_extra_data(SSL_TEST_CTX *ctx)
void SSL_TEST_CTX_free(SSL_TEST_CTX *ctx)
SSL_TEST_CTX *SSL_TEST_CTX_create(const CONF *conf, const char *test_section,
SSL_TEST_CTX *ctx = NULL;
__owur static int parse_expected_result(SSL_TEST_CTX *test_ctx, const char *value)
SSL_TEST_CTX *SSL_TEST_CTX_create(const CONF *conf, const char *test_section,
SSL_TEST_CTX *SSL_TEST_CTX_new(OSSL_LIB_CTX *libctx);
void SSL_TEST_CTX_free(SSL_TEST_CTX *ctx);
static int check_protocol(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_servername(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_session_ticket(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_session_id(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_compression(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_npn(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_alpn(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
static int check_resumption(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_tmp_key(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx)
static int check_result(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_cipher(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
static int check_test(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *test_ctx = NULL;
static int check_alerts(HANDSHAKE_RESULT *result, SSL_TEST_CTX *test_ctx)
SSL_TEST_CTX *ctx;
SSL_TEST_CTX *ctx;
SSL_TEST_CTX *expected_ctx;
static int testctx_eq(SSL_TEST_CTX *ctx, SSL_TEST_CTX *ctx2)