Lines Matching refs:bio1
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)
686 assert(bio1 != NULL);
689 b1 = bio1->ptr;
720 b2->peer = bio1;
724 bio1->init = 1;
762 BIO *bio1 = NULL, *bio2 = NULL;
766 bio1 = BIO_new(BIO_s_bio());
767 if (bio1 == NULL)
774 r = BIO_set_write_buf_size(bio1, writebuf1);
784 r = BIO_make_bio_pair(bio1, bio2);
791 if (bio1) {
792 BIO_free(bio1);
793 bio1 = NULL;
801 *bio1_p = bio1;