Searched refs:sbio (Results 1 – 10 of 10) sorted by relevance
/openssl/demos/bio/ |
H A D | client-arg.c | 16 BIO *sbio = NULL, *out = NULL; in main() local 75 sbio = BIO_new_ssl_connect(ctx); in main() 77 BIO_get_ssl(sbio, &ssl); in main() 86 BIO_set_conn_hostname(sbio, connect_str); in main() 89 if (BIO_do_connect(sbio) <= 0) { in main() 97 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main() 99 len = BIO_read(sbio, tmpbuf, 1024); in main() 107 BIO_free_all(sbio); in main()
|
H A D | client-conf.c | 17 BIO *sbio = NULL, *out = NULL; in main() local 83 sbio = BIO_new_ssl_connect(ctx); in main() 85 BIO_get_ssl(sbio, &ssl); in main() 94 BIO_set_conn_hostname(sbio, connect_str); in main() 97 if (BIO_do_connect(sbio) <= 0) { in main() 105 BIO_puts(sbio, "GET / HTTP/1.0\n\n"); in main() 107 len = BIO_read(sbio, tmpbuf, 1024); in main() 116 BIO_free_all(sbio); in main()
|
/openssl/doc/man3/ |
H A D | BIO_f_ssl.pod | 160 BIO *sbio, *out; 173 BIO_get_ssl(sbio, &ssl); 201 BIO_free_all(sbio); 209 BIO *sbio, *bbio, *acpt, *out; 229 sbio = BIO_new_ssl(ctx, 0); 230 BIO_get_ssl(sbio, &ssl); 238 sbio = BIO_push(bbio, sbio); 265 sbio = BIO_pop(acpt); 290 BIO_puts(sbio, "\r\n"); 291 BIO_flush(sbio); [all …]
|
H A D | OSSL_HTTP_transfer.pod | 122 BIO *sbio = BIO_new_ssl(ctx, 1); 124 bio = sbio != NULL ? BIO_push(sbio, bio) : NULL;
|
/openssl/test/helpers/ |
H A D | quictestlib.c | 31 BIO *sbio; member 188 if (!TEST_ptr(sbio)) { in qtest_create_quic_objects() 219 sbio = BIO_push(pktsplitbio, sbio); in qtest_create_quic_objects() 247 sbio = BIO_push(noisebio, sbio); in qtest_create_quic_objects() 263 (*fault)->noiseargs.sbio = sbio; in qtest_create_quic_objects() 286 if (!BIO_up_ref(sbio)) in qtest_create_quic_objects() 289 BIO_free(sbio); in qtest_create_quic_objects() 294 tserver_args.net_rbio = sbio; in qtest_create_quic_objects() 319 sbio = NULL; in qtest_create_quic_objects() 337 BIO_free_all(sbio); in qtest_create_quic_objects() [all …]
|
/openssl/apps/ |
H A D | s_client.c | 846 BIO *sbio; in s_client_main() local 2210 BIO_free(sbio); in s_client_main() 2217 BIO_free(sbio); in s_client_main() 2241 BIO_free(sbio); in s_client_main() 2247 BIO_free(sbio); in s_client_main() 2267 if (sbio == NULL) { in s_client_main() 2286 BIO_free(sbio); in s_client_main() 2289 sbio = BIO_push(test, sbio); in s_client_main() 2318 SSL_set_bio(con, sbio, sbio); in s_client_main() 2369 BIO_push(fbio, sbio); in s_client_main() [all …]
|
H A D | s_server.c | 2443 BIO *sbio; in sv_body() local 2496 if (sbio == NULL) { in sv_body() 2540 if (sbio == NULL) { in sv_body() 2553 BIO_free(sbio); in sv_body() 2556 sbio = BIO_push(test, sbio); in sv_body() 2559 SSL_set_bio(con, sbio, sbio); in sv_body() 3212 if (sbio == NULL) { in www_body() 3227 sbio = BIO_push(test, sbio); in www_body() 3229 SSL_set_bio(con, sbio, sbio); in www_body() 3675 if (sbio == NULL) { in rev_body() [all …]
|
/openssl/test/ |
H A D | bio_tfo_test.c | 56 BIO *sbio = NULL; in test_bio_tfo() local 111 sbio = BIO_pop(abio); in test_bio_tfo() 151 sbio = BIO_pop(abio); in test_bio_tfo() 175 if (!TEST_ptr(sbio = BIO_pop(abio)) in test_bio_tfo() 176 || !TEST_true(BIO_read_ex(sbio, read_buffer, sizeof(read_buffer), &bytes)) in test_bio_tfo() 196 BIO_free(sbio); in test_bio_tfo()
|
H A D | dtlstest.c | 401 BIO *rbio = NULL, *wbio = NULL, *sbio = NULL; in test_just_finished() local 441 sbio = rbio; in test_just_finished() 447 if (!TEST_int_eq(BIO_write(sbio, buf, sizeof(buf)), sizeof(buf))) in test_just_finished()
|
/openssl/apps/lib/ |
H A D | apps.c | 2591 BIO *sbio = NULL; in app_http_tls_cb() local 2602 || (sbio = BIO_new(BIO_f_ssl())) == NULL) { in app_http_tls_cb() 2606 BIO_free(sbio); in app_http_tls_cb() 2614 BIO_set_ssl(sbio, ssl, BIO_CLOSE); in app_http_tls_cb() 2616 bio = BIO_push(sbio, bio); in app_http_tls_cb()
|
Completed in 47 milliseconds