Home
last modified time | relevance | path

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

/src/crypto/openssl/test/
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
424 if (!TEST_ptr(server2_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_server_method())) in test_handshake()
425 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
466 if (!TEST_ptr(server2_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method())) in test_handshake()
467 || !TEST_true(SSL_CTX_set_options(server2_ctx, in test_handshake()
470 if (!TEST_true(SSL_CTX_set_max_proto_version(server2_ctx, in test_handshake()
513 if (server2_ctx != NULL in test_handshake()
514 && (!SSL_CTX_config(server2_ctx, "server2") in test_handshake()
515 || !SSL_CTX_set_dh_auto(server2_ctx, 1))) in test_handshake()
525 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
[all …]
/src/crypto/openssl/test/helpers/
H A Dhandshake_srp.c43 int configure_handshake_ctx_for_srp(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx_for_srp() argument
64 if (!TEST_ptr(server2_ctx)) in configure_handshake_ctx_for_srp()
66 SSL_CTX_set_srp_username_callback(server2_ctx, server_srp_cb); in configure_handshake_ctx_for_srp()
76 SSL_CTX_set_srp_cb_arg(server2_ctx, server2_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.c488 static int configure_handshake_ctx(SSL_CTX *server_ctx, SSL_CTX *server2_ctx, in configure_handshake_ctx() argument
503 if (server2_ctx != NULL) { in configure_handshake_ctx()
504 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(server2_ctx, in configure_handshake_ctx()
548 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
552 SSL_CTX_set_tlsext_servername_arg(server_ctx, server2_ctx); in configure_handshake_ctx()
557 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_ignore_cb, server2_ctx); in configure_handshake_ctx()
560 SSL_CTX_set_client_hello_cb(server_ctx, client_hello_reject_cb, server2_ctx); in configure_handshake_ctx()
563 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,