dup_bio_err
BIO *dup_bio_err(int format);
channel = BIO_push(bio, dup_bio_err(FORMAT_TEXT));
bio_err = dup_bio_err(FORMAT_TEXT);