Add accessor for x509.cert_info.
This commit is contained in:
parent
7b2d785d20
commit
519ad9b384
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue