Home
last modified time | relevance | path

Searched refs:abio (Results 1 – 2 of 2) sorted by relevance

/src/crypto/openssl/test/
H A Dbio_tfo_test.c55 BIO *abio = NULL; in test_bio_tfo() local
83 if (!TEST_ptr(abio = BIO_new_accept("localhost:0")) in test_bio_tfo()
84 || !TEST_true(BIO_set_nbio_accept(abio, 1)) in test_bio_tfo()
85 || !TEST_true(BIO_set_tfo_accept(abio, server_tfo)) in test_bio_tfo()
86 || !TEST_int_gt(BIO_do_accept(abio), 0) in test_bio_tfo()
87 || !TEST_ptr(port = BIO_get_accept_port(abio))) { in test_bio_tfo()
104 if (BIO_do_accept(abio) <= 0) { in test_bio_tfo()
105 if (!BIO_should_retry(abio)) { in test_bio_tfo()
111 sbio = BIO_pop(abio); in test_bio_tfo()
129 if (!TEST_int_ge(BIO_wait(abio, time(NULL) + 2, 0), 0)) { in test_bio_tfo()
[all …]
/src/crypto/openssl/doc/man3/
H A DBIO_s_accept.pod198 BIO *abio, *cbio, *cbio2;
201 abio = BIO_new_accept("4444");
202 if (BIO_do_accept(abio) <= 0) {
209 if (BIO_do_accept(abio) <= 0) {
217 cbio = BIO_pop(abio);
222 if (BIO_do_accept(abio) <= 0) {
230 cbio2 = BIO_pop(abio);
231 BIO_free(abio);