Home
last modified time | relevance | path

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

/openssl/apps/
H A Ds_server.c2442 SSL *con = NULL; in sv_body() local
2465 if (con == NULL) { in sv_body()
2663 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body()
2670 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body()
2917 if (con != NULL) { in sv_body()
2920 SSL_free(con); in sv_body()
3157 SSL *con; in www_body() local
3207 SSL_free(con); in www_body()
3213 SSL_free(con); in www_body()
3641 SSL *con; in rev_body() local
[all …]
H A Ds_client.c74 SSL *con; member
848 SSL *con = NULL; in s_client_main() local
2069 con = SSL_new(ctx); in s_client_main()
2070 if (con == NULL) in s_client_main()
2318 SSL_set_bio(con, sbio, sbio); in s_client_main()
2319 SSL_set_connect_state(con); in s_client_main()
2917 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main()
3289 do_ssl_shutdown(con); in s_client_main()
3317 if (con != NULL) { in s_client_main()
3320 SSL_free(con); in s_client_main()
[all …]
/openssl/test/
H 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 …]
H 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()
H A Dbad_dtls_test.c471 SSL *con = NULL; in test_bad_dtls() local
507 con = SSL_new(ctx); in test_bad_dtls()
508 if (!TEST_ptr(con) in test_bad_dtls()
519 SSL_set_bio(con, rbio, wbio); in test_bad_dtls()
535 SSL_set_connect_state(con); in test_bad_dtls()
538 ret = SSL_do_handshake(con); in test_bad_dtls()
545 ret = SSL_do_handshake(con); in test_bad_dtls()
552 ret = SSL_do_handshake(con); in test_bad_dtls()
555 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls()
558 ret = SSL_do_handshake(con); in test_bad_dtls()
[all …]
H A Dsslapitest.c7328 SSL *con = NULL; in test_max_fragment_len_ext() local
7341 con = SSL_new(ctx); in test_max_fragment_len_ext()
7342 if (!TEST_ptr(con)) in test_max_fragment_len_ext()
7353 SSL_set_bio(con, rbio, wbio); in test_max_fragment_len_ext()
7355 if (!TEST_int_le(SSL_connect(con), 0)) { in test_max_fragment_len_ext()
7369 SSL_free(con); in test_max_fragment_len_ext()
/openssl/ssl/
H A Dbio_ssl.c464 BIO *ret = NULL, *con = NULL, *ssl = NULL; in BIO_new_ssl_connect() local
466 if ((con = BIO_new(BIO_s_connect())) == NULL) in BIO_new_ssl_connect()
471 if (!BIO_set_sock_type(con, SOCK_DGRAM)) in BIO_new_ssl_connect()
477 if ((ret = BIO_push(ssl, con)) == NULL) in BIO_new_ssl_connect()
482 BIO_free(con); in BIO_new_ssl_connect()
/openssl/util/
H A Dcheck-format-test-negatives.c59 const int con; in f() local

Completed in 109 milliseconds