diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-20 13:02:09 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-21 18:25:23 +0100 |
commit | 0b7347effee58f5a19e4724c4b277635727c20d8 (patch) | |
tree | 42e1e32ddf704a4c196fccefa13e45db007bb975 /crypto/x509 | |
parent | bf932fbd4a2385496fa5e9363bf9280fc6fba0ad (diff) |
Add X509_getm_notBefore, X509_getm_notAfter
Add mutable versions of X509_get0_notBefore and X509_get0_notAfter.
Rename X509_SIG_get0_mutable to X509_SIG_getm.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r-- | crypto/x509/x509_set.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/x509/x509_set.c b/crypto/x509/x509_set.c index 8bf367b645..c0ea41883d 100644 --- a/crypto/x509/x509_set.c +++ b/crypto/x509/x509_set.c @@ -119,17 +119,15 @@ const ASN1_TIME *X509_get0_notAfter(const X509 *x) return x->cert_info.validity.notAfter; } -#if OPENSSL_API_COMPAT < 0x10100000L -ASN1_TIME *X509_get_notBefore(const X509 *x) +ASN1_TIME *X509_getm_notBefore(const X509 *x) { return x->cert_info.validity.notBefore; } -ASN1_TIME *X509_get_notAfter(const X509 *x) +ASN1_TIME *X509_getm_notAfter(const X509 *x) { return x->cert_info.validity.notAfter; } -#endif int X509_get_signature_type(const X509 *x) { |