Lines Matching refs:bio2
104 static int bio_make_pair(BIO *bio1, BIO *bio2);
538 * BIO_free(bio1); BIO_free(bio2); do the job.
682 static int bio_make_pair(BIO *bio1, BIO *bio2)
687 assert(bio2 != NULL);
690 b2 = bio2->ptr;
717 b1->peer = bio2;
725 bio2->init = 1;
762 BIO *bio1 = NULL, *bio2 = NULL;
769 bio2 = BIO_new(BIO_s_bio());
770 if (bio2 == NULL)
779 r = BIO_set_write_buf_size(bio2, writebuf2);
784 r = BIO_make_bio_pair(bio1, bio2);
795 if (bio2) {
796 BIO_free(bio2);
797 bio2 = NULL;
802 *bio2_p = bio2;