From: Ben Laurie Date: Sat, 1 Feb 2014 17:52:26 +0000 (+0000) Subject: Add accessor for x509.cert_info. X-Git-Tag: OpenSSL_1_0_2-beta1~82 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=519ad9b3845c475d29db8b84b59bde7edecb4e70;p=oweals%2Fopenssl.git Add accessor for x509.cert_info. --- diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index ee560d19bf..6261232449 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -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)