Lines Matching refs:c_bio
403 BIO *c_bio = NULL;
433 c_bio = BIO_new(BIO_f_ssl());
435 if ((c_bio == NULL) || (s_bio == NULL))
440 BIO_set_ssl(c_bio, c_ssl, (ctx[2] == NULL) ? BIO_CLOSE : BIO_NOCLOSE);
463 i = (int)BIO_pending(c_bio);
493 i = BIO_write(c_bio, "hello from client\n", 18);
497 if (BIO_should_retry(c_bio)) {
498 if (BIO_should_read(c_bio))
500 if (BIO_should_write(c_bio))
515 i = BIO_read(c_bio, cbuf, 100);
519 if (BIO_should_retry(c_bio)) {
520 if (BIO_should_read(c_bio))
522 if (BIO_should_write(c_bio))
635 if (c_bio != NULL)
636 BIO_free(c_bio);