Add accessor for x509.cert_info.
authorBen Laurie <ben@links.org>
Sat, 1 Feb 2014 17:52:26 +0000 (17:52 +0000)
committerBen Laurie <ben@links.org>
Sat, 1 Feb 2014 18:30:23 +0000 (18:30 +0000)
crypto/x509/x509.h

index ee560d19bf587debf1f8643a43b43aa142a0dff5..6261232449b40f4061e77a3bf4f78c8392e742ee 100644 (file)
@@ -612,6 +612,7 @@ extern "C" {
 /* #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_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)