Home
last modified time | relevance | path

Searched refs:client_ctx (Results 1 – 9 of 9) sorted by relevance

/openssl/test/
H A Dcmp_server_test.c65 OSSL_CMP_CTX *client_ctx; in execute_test_handle_request() local
72 if (!TEST_ptr(client_ctx = OSSL_CMP_CTX_new(libctx, NULL)) in execute_test_handle_request()
73 || !TEST_true(OSSL_CMP_CTX_set_transfer_cb_arg(client_ctx, ctx))) in execute_test_handle_request()
97 if (!TEST_ptr(rsp = OSSL_CMP_CTX_server_perform(client_ctx, fixture->req)) in execute_test_handle_request()
109 OSSL_CMP_CTX_free(client_ctx); in execute_test_handle_request()
H A Dssl_test.c397 SSL_CTX *server_ctx = NULL, *server2_ctx = NULL, *client_ctx = NULL, in test_handshake() local
431 client_ctx = SSL_CTX_new_ex(libctx, NULL, DTLS_client_method()); in test_handshake()
432 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, 0))) in test_handshake()
478 client_ctx = SSL_CTX_new_ex(libctx, NULL, TLS_client_method()); in test_handshake()
479 if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, maxversion))) in test_handshake()
507 || !TEST_ptr(client_ctx) in test_handshake()
512 || !SSL_CTX_config(client_ctx, "client")) { in test_handshake()
525 result = do_handshake(server_ctx, server2_ctx, client_ctx, in test_handshake()
535 SSL_CTX_free(client_ctx); in test_handshake()
/openssl/test/helpers/
H A Dhandshake_srp.c43 SSL_CTX *client_ctx, in configure_handshake_ctx_for_srp() argument
78 if (!TEST_true(SSL_CTX_set_srp_username(client_ctx, in configure_handshake_ctx_for_srp()
81 SSL_CTX_set_srp_client_pwd_callback(client_ctx, client_srp_cb); in configure_handshake_ctx_for_srp()
85 SSL_CTX_set_srp_cb_arg(client_ctx, client_ctx_data); in configure_handshake_ctx_for_srp()
H A Dhandshake.c492 SSL_CTX *client_ctx, in configure_handshake_ctx() argument
511 if (!TEST_int_eq(SSL_CTX_set_max_send_fragment(client_ctx, in configure_handshake_ctx()
537 client_ctx, extra->client.max_fragment_len_mode); in configure_handshake_ctx()
569 SSL_CTX_set_tlsext_status_cb(client_ctx, client_ocsp_cb); in configure_handshake_ctx()
570 SSL_CTX_set_tlsext_status_arg(client_ctx, NULL); in configure_handshake_ctx()
613 SSL_CTX_set_next_proto_select_cb(client_ctx, client_npn_cb, in configure_handshake_ctx()
682 if (!TEST_true(SSL_CTX_set_default_ctlog_list_file(client_ctx))) in configure_handshake_ctx()
686 if (!TEST_true(SSL_CTX_enable_ct(client_ctx, in configure_handshake_ctx()
1418 SSL_CTX *server_ctx, SSL_CTX *server2_ctx, SSL_CTX *client_ctx, in do_handshake_internal() argument
1455 if (!configure_handshake_ctx(server_ctx, server2_ctx, client_ctx, in do_handshake_internal()
[all …]
H A Dhandshake.h87 SSL_CTX *client_ctx, SSL_CTX *resume_server_ctx,
92 SSL_CTX *client_ctx,
/openssl/fuzz/
H A Dcmp.c184 OSSL_CMP_CTX *client_ctx = OSSL_CMP_CTX_new(NULL, NULL); in FuzzerTestOneInput() local
191 if (client_ctx != NULL) in FuzzerTestOneInput()
192 cmp_client_process_response(client_ctx, msg); in FuzzerTestOneInput()
203 OSSL_CMP_CTX_free(client_ctx); in FuzzerTestOneInput()
/openssl/crypto/cmp/
H A Dcmp_server.c753 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx, in OSSL_CMP_CTX_server_perform() argument
758 if (client_ctx == NULL || req == NULL) { in OSSL_CMP_CTX_server_perform()
763 if ((srv_ctx = OSSL_CMP_CTX_get_transfer_cb_arg(client_ctx)) == NULL) { in OSSL_CMP_CTX_server_perform()
/openssl/doc/man3/
H A DOSSL_CMP_SRV_CTX_new.pod33 OSSL_CMP_MSG *OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,
110 The B<OSSL_CMP_SRV_CTX> must be set as I<transfer_cb_arg> of I<client_ctx>.
/openssl/include/openssl/
H A Dcmp.h.in493 OSSL_CMP_MSG * OSSL_CMP_CTX_server_perform(OSSL_CMP_CTX *client_ctx,

Completed in 26 milliseconds