Home
last modified time | relevance | path

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

/openssl/test/
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
418 server_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_server_method()); in test_handshake()
419 if (!TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
421 || !TEST_true(SSL_CTX_set_max_proto_version(server_ctx, 0))) in test_handshake()
461 server_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_server_method()); in test_handshake()
462 if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, maxversion)) in test_handshake()
463 || !TEST_true(SSL_CTX_set_options(server_ctx, in test_handshake()
506 if (!TEST_ptr(server_ctx) in test_handshake()
511 if (!SSL_CTX_config(server_ctx, "server") in test_handshake()
525 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
[all …]
/openssl/test/helpers/
H A Dhandshake.c502 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(server_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()
571 SSL_CTX_set_tlsext_status_cb(server_ctx, server_ocsp_cb); in configure_handshake_ctx()
572 SSL_CTX_set_tlsext_status_arg(server_ctx, in configure_handshake_ctx()
587 SSL_CTX_set_tlsext_ticket_key_evp_cb(server_ctx, in configure_handshake_ctx()
596 SSL_CTX_set_npn_advertised_cb(server_ctx, server_npn_cb, in configure_handshake_ctx()
706 if (!TEST_true(SSL_CTX_compress_certs(server_ctx, 0))) in configure_handshake_ctx()
1418 SSL_CTX *server_ctx, SSL_CTX *server2_ctx, SSL_CTX *client_ctx, in do_handshake_internal() argument
1471 if (!create_peer(&server, server_ctx)) { in do_handshake_internal()
[all …]
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
50 SSL_CTX_set_srp_username_callback(server_ctx, server_srp_cb); in configure_handshake_ctx_for_srp()
60 SSL_CTX_set_srp_cb_arg(server_ctx, server_ctx_data); in configure_handshake_ctx_for_srp()
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,

Completed in 16 milliseconds