diff options
author | Ben Laurie <ben@links.org> | 2014-02-01 17:52:26 +0000 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2014-02-01 18:30:23 +0000 |
commit | 519ad9b3845c475d29db8b84b59bde7edecb4e70 (patch) | |
tree | 3c4293de687cca495adb9e4b4334fb16bcee1a95 /crypto/x509 | |
parent | 7b2d785d2005e35982293094ccabb3e9385f17a9 (diff) |
Add accessor for x509.cert_info.
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |