Home
last modified time | relevance | path

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

/openssl/apps/
H A Ds_server.c2363 SSL *con = NULL; in sv_body() local
2386 if (con == NULL) { in sv_body()
2583 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body()
2590 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body()
2841 if (con != NULL) { in sv_body()
2844 SSL_free(con); in sv_body()
3068 SSL *con; in www_body() local
3117 SSL_free(con); in www_body()
3123 SSL_free(con); in www_body()
3517 SSL *con; in rev_body() local
[all …]
H A Ds_client.c796 SSL *con = NULL; in s_client_main() local
1975 con = SSL_new(ctx); in s_client_main()
1976 if (con == NULL) in s_client_main()
2182 SSL_set_bio(con, sbio, sbio); in s_client_main()
2183 SSL_set_connect_state(con); in s_client_main()
2770 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in s_client_main()
2775 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main()
2880 if (SSL_is_dtls(con) && DTLSv1_handle_timeout(con) > 0) in s_client_main()
3111 do_ssl_shutdown(con); in s_client_main()
3139 if (con != NULL) { 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.c467 SSL *con = NULL; in test_bad_dtls() local
503 con = SSL_new(ctx); in test_bad_dtls()
504 if (!TEST_ptr(con) in test_bad_dtls()
516 SSL_set_bio(con, rbio, wbio); in test_bad_dtls()
532 SSL_set_connect_state(con); in test_bad_dtls()
535 ret = SSL_do_handshake(con); in test_bad_dtls()
542 ret = SSL_do_handshake(con); in test_bad_dtls()
549 ret = SSL_do_handshake(con); in test_bad_dtls()
552 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls()
555 ret = SSL_do_handshake(con); in test_bad_dtls()
[all …]
H A Dsslapitest.c6753 SSL *con = NULL; in test_max_fragment_len_ext() local
6766 con = SSL_new(ctx); in test_max_fragment_len_ext()
6767 if (!TEST_ptr(con)) in test_max_fragment_len_ext()
6778 SSL_set_bio(con, rbio, wbio); in test_max_fragment_len_ext()
6780 if (!TEST_int_le(SSL_connect(con), 0)) { in test_max_fragment_len_ext()
6794 SSL_free(con); in test_max_fragment_len_ext()
/openssl/ssl/
H A Dbio_ssl.c447 BIO *ret = NULL, *con = NULL, *ssl = NULL; in BIO_new_ssl_connect() local
449 if ((con = BIO_new(BIO_s_connect())) == NULL) in BIO_new_ssl_connect()
453 if ((ret = BIO_push(ssl, con)) == NULL) in BIO_new_ssl_connect()
458 BIO_free(con); in BIO_new_ssl_connect()
/openssl/util/
H A Dcheck-format-test-negatives.c48 const int con; in f() local

Completed in 74 milliseconds