Home
last modified time | relevance | path

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

/freebsd/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.c491 static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx() argument
505 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()
553 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
558 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_ignore_cb, server2_ctx); in configure_handshake_ctx()
561 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_reject_cb, server2_ctx); in configure_handshake_ctx()
564 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_nov12_cb, 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()
[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/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()