Home
last modified time | relevance | path

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

/openssl/apps/
H A Ds_server.c2439 SSL *con = NULL; in sv_body() local
2462 if (con == NULL) { in sv_body()
2660 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body()
2667 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body()
2914 if (con != NULL) { in sv_body()
2917 SSL_free(con); in sv_body()
3154 SSL *con; in www_body() local
3203 SSL_free(con); in www_body()
3209 SSL_free(con); in www_body()
3603 SSL *con; in rev_body() local
[all …]
H A Ds_client.c73 SSL *con; member
847 SSL *con = NULL; in s_client_main() local
2068 con = SSL_new(ctx); in s_client_main()
2069 if (con == NULL) in s_client_main()
2314 SSL_set_bio(con, sbio, sbio); in s_client_main()
2315 SSL_set_connect_state(con); in s_client_main()
2913 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main()
3285 do_ssl_shutdown(con); in s_client_main()
3313 if (con != NULL) { in s_client_main()
3316 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.c7323 SSL *con = NULL; in test_max_fragment_len_ext() local
7336 con = SSL_new(ctx); in test_max_fragment_len_ext()
7337 if (!TEST_ptr(con)) in test_max_fragment_len_ext()
7348 SSL_set_bio(con, rbio, wbio); in test_max_fragment_len_ext()
7350 if (!TEST_int_le(SSL_connect(con), 0)) { in test_max_fragment_len_ext()
7364 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 66 milliseconds