X509_REQ_set_version
if (!X509_REQ_set_version(req, X509_REQ_VERSION_1))
int X509_REQ_set_version(X509_REQ *x, long version);