Home
last modified time | relevance | path

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

/freebsd-14.2/crypto/openssl/test/helpers/
H A Dhandshake_srp.c41 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx_for_srp() argument
62 if (!TEST_ptr(server2_ctx)) in configure_handshake_ctx_for_srp()
64 SSL_CTX_set_srp_username_callback(server2_ctx, server_srp_cb); in configure_handshake_ctx_for_srp()
74 SSL_CTX_set_srp_cb_arg(server2_ctx, server2_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.c505 if (server2_ctx != NULL) { in configure_handshake_ctx()
506 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(server2_ctx, in configure_handshake_ctx()
549 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
582 if (server2_ctx != NULL) in configure_handshake_ctx()
583 SSL_CTX_set_tlsext_ticket_key_evp_cb(server2_ctx, in configure_handshake_ctx()
603 || !TEST_ptr(server2_ctx)) in configure_handshake_ctx()
605 SSL_CTX_set_npn_advertised_cb(server2_ctx, server_npn_cb, in configure_handshake_ctx()
625 if (!TEST_ptr(server2_ctx) in configure_handshake_ctx()
631 SSL_CTX_set_alpn_select_cb(server2_ctx, server_alpn_cb, in configure_handshake_ctx()
654 if (!TEST_ptr(server2_ctx)) in configure_handshake_ctx()
[all …]
H A Dhandshake.h86 HANDSHAKE_RESULT *do_handshake(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
91 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx,
/freebsd-14.2/crypto/openssl/test/
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
418 if (!TEST_ptr(server2_ctx = in test_handshake()
420 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
462 if (!TEST_ptr(server2_ctx = in test_handshake()
464 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
467 if (!TEST_true(SSL_CTX_set_max_proto_version(server2_ctx, in test_handshake()
509 if (server2_ctx != NULL && !SSL_CTX_config(server2_ctx, "server2")) in test_handshake()
518 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
527 SSL_CTX_free(server2_ctx); in test_handshake()