Change with the BIO handling in pack_mime_cert