Home
last modified time | relevance | path

Searched refs:con (Results 1 – 7 of 7) sorted by relevance

/openssl-master/apps/
A Ds_server.c2311 SSL *con = NULL; in sv_body() local
2333 con = SSL_new(ctx); in sv_body()
2334 if (con == NULL) { in sv_body()
2523 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body()
2530 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body()
2764 if (con != NULL) { in sv_body()
2767 SSL_free(con); in sv_body()
2991 SSL *con; in www_body() local
3032 SSL_free(con); in www_body()
3417 SSL *con; in rev_body() local
[all …]
A Ds_client.c791 SSL *con = NULL; in s_client_main() local
1938 con = SSL_new(ctx); in s_client_main()
1939 if (con == NULL) in s_client_main()
2117 SSL_set_bio(con, sbio, sbio); in s_client_main()
2118 SSL_set_connect_state(con); in s_client_main()
2679 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in s_client_main()
2684 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main()
2789 if (SSL_is_dtls(con) && DTLSv1_handle_timeout(con) > 0) in s_client_main()
3010 do_ssl_shutdown(con); in s_client_main()
3038 if (con != NULL) { in s_client_main()
[all …]
/openssl-master/test/
A Dservername_test.c100 SSL *con = NULL; in client_setup_sni_before_state() local
115 con = SSL_new(ctx); in client_setup_sni_before_state()
116 if (!TEST_ptr(con)) in client_setup_sni_before_state()
130 SSL_set_bio(con, rbio, wbio); in client_setup_sni_before_state()
144 SSL_free(con); in client_setup_sni_before_state()
152 SSL *con = NULL; in client_setup_sni_after_state() local
167 con = SSL_new(ctx); in client_setup_sni_after_state()
168 if (!TEST_ptr(con)) in client_setup_sni_after_state()
179 SSL_set_bio(con, rbio, wbio); in client_setup_sni_after_state()
180 SSL_set_connect_state(con); in client_setup_sni_after_state()
[all …]
A Dclienthellotest.c62 SSL *con = NULL; in test_client_hello() local
148 con = SSL_new(ctx); in test_client_hello()
149 if (!TEST_ptr(con)) in test_client_hello()
168 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello()
180 SSL_set_bio(con, rbio, wbio); in test_client_hello()
181 SSL_set_connect_state(con); in test_client_hello()
184 if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick, in test_client_hello()
189 if (!TEST_int_le(SSL_connect(con), 0)) { in test_client_hello()
247 SSL_free(con); in test_client_hello()
A Dbad_dtls_test.c467 SSL *con = NULL; in test_bad_dtls() local
502 con = SSL_new(ctx); in test_bad_dtls()
503 if (!TEST_ptr(con) in test_bad_dtls()
515 SSL_set_bio(con, rbio, wbio); in test_bad_dtls()
531 SSL_set_connect_state(con); in test_bad_dtls()
534 ret = SSL_do_handshake(con); in test_bad_dtls()
541 ret = SSL_do_handshake(con); in test_bad_dtls()
548 ret = SSL_do_handshake(con); in test_bad_dtls()
551 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls()
554 ret = SSL_do_handshake(con); in test_bad_dtls()
[all …]
A Dsslapitest.c6624 SSL *con = NULL; in test_max_fragment_len_ext() local
6637 con = SSL_new(ctx); in test_max_fragment_len_ext()
6638 if (!TEST_ptr(con)) in test_max_fragment_len_ext()
6649 SSL_set_bio(con, rbio, wbio); in test_max_fragment_len_ext()
6651 if (!TEST_int_le(SSL_connect(con), 0)) { in test_max_fragment_len_ext()
6665 SSL_free(con); in test_max_fragment_len_ext()
/openssl-master/ssl/
A Dbio_ssl.c443 BIO *ret = NULL, *con = NULL, *ssl = NULL; in BIO_new_ssl_connect() local
445 if ((con = BIO_new(BIO_s_connect())) == NULL) in BIO_new_ssl_connect()
449 if ((ret = BIO_push(ssl, con)) == NULL) in BIO_new_ssl_connect()
454 BIO_free(con); in BIO_new_ssl_connect()

Completed in 37 milliseconds