the second argument of d2i_X509, d2i_X509_CRL and d2i_X509_REQ is const