X509_CRL_add1_ext_i2d
X509_CRL_add1_ext_i2d(crl, NID_crl_number, tmpser, 0, 0);
if (X509_CRL_add1_ext_i2d(crl, NID_delta_crl, base->crl_number, 1, 0) <= 0) {
int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit,