Lines Matching refs:c_bio
425 BIO *c_bio=NULL;
453 c_bio=BIO_new(BIO_f_ssl());
455 if ((c_bio == NULL) || (s_bio == NULL)) goto err;
459 BIO_set_ssl(c_bio,c_ssl,(ctx[2] == NULL)?BIO_CLOSE:BIO_NOCLOSE);
480 i=(int)BIO_pending(c_bio);
514 i=BIO_write(c_bio,"hello from client\n",18);
519 if (BIO_should_retry(c_bio))
521 if (BIO_should_read(c_bio))
523 if (BIO_should_write(c_bio))
546 i=BIO_read(c_bio,cbuf,100);
551 if (BIO_should_retry(c_bio))
553 if (BIO_should_read(c_bio))
555 if (BIO_should_write(c_bio))
692 if (c_bio != NULL) BIO_free(c_bio);