/* #define X509_get_serialNumber(x) ((x)->cert_info->serialNumber) */
#define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore)
#define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter)
-#define X509_get_cinf(x) ((x)->cert_info)
+#define X509_get_cert_info(x) ((x)->cert_info)
#define X509_extract_key(x) X509_get_pubkey(x) /*****/
#define X509_REQ_get_version(x) ASN1_INTEGER_get((x)->req_info->version)
#define X509_REQ_get_subject_name(x) ((x)->req_info->subject)
#define X509_CRL_get_issuer(x) ((x)->crl->issuer)
#define X509_CRL_get_REVOKED(x) ((x)->crl->revoked)
+#define X509_CINF_set_modified(c) ((c)->enc.modified = 1)
+#define X509_CINF_get_issuer(c) (&(c)->issuer)
+#define X509_CINF_get_extensions(c) ((c)->extensions)
+#define X509_CINF_get_signature(c) ((c)->signature)
+
+#define X509_ALGOR_get_algorithm(a) ((a)->algorithm)
+
void X509_CRL_set_default_method(const X509_CRL_METHOD *meth);
X509_CRL_METHOD *X509_CRL_METHOD_new(
int (*crl_init)(X509_CRL *crl),