Lines Matching defs:bio2
305 static int bio_make_pair(BIO *bio1, BIO *bio2, size_t writebuf1_len,
310 assert(bio2 != NULL);
313 b2 = bio2->ptr;
346 b1->peer = bio2;
354 bio2->init = 1;
464 BIO *bio2 = BIO_new(bio_s_bio());
465 if (bio1 == NULL || bio2 == NULL ||
466 !bio_make_pair(bio1, bio2, writebuf1_len, writebuf2_len)) {
468 BIO_free(bio2);
475 *bio2_p = bio2;