Home
last modified time | relevance | path

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

/openssl/test/helpers/
H A Dhandshake_srp.c42 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx_for_srp() argument
63 if (!TEST_ptr(server2_ctx)) in configure_handshake_ctx_for_srp()
65 SSL_CTX_set_srp_username_callback(server2_ctx, server_srp_cb); in configure_handshake_ctx_for_srp()
75 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()
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()
656 if (!TEST_ptr(server2_ctx)) in configure_handshake_ctx()
662 SSL_CTX_set_session_ticket_cb(server2_ctx, NULL, 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,
/openssl/test/
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
425 if (!TEST_ptr(server2_ctx = in test_handshake()
427 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
469 if (!TEST_ptr(server2_ctx = in test_handshake()
471 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
474 if (!TEST_true(SSL_CTX_set_max_proto_version(server2_ctx, in test_handshake()
516 if (server2_ctx != NULL && !SSL_CTX_config(server2_ctx, "server2")) in test_handshake()
525 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
534 SSL_CTX_free(server2_ctx); in test_handshake()

Completed in 28 milliseconds