d2i_X509_REQ_bio
req = d2i_X509_REQ_bio(in, NULL);
X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req);
(void)TEST_ptr(d2i_X509_REQ_bio(bio, &csr));