diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-19 12:39:57 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-19 18:40:55 +0100 |
commit | 568ce3a583a17c33feacbf5028ece9f7f0680478 (patch) | |
tree | f55156e99147d3139ad974b7a9c44925982bf987 /crypto/x509/t_crl.c | |
parent | c4fbed6c3139726fc719a703d2195f3b6426b748 (diff) | |
download | openssl-568ce3a583a17c33feacbf5028ece9f7f0680478.zip openssl-568ce3a583a17c33feacbf5028ece9f7f0680478.tar.gz openssl-568ce3a583a17c33feacbf5028ece9f7f0680478.tar.bz2 |
Constify certificate and CRL time routines.
Update certificate and CRL time routines to match new standard.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/t_crl.c')
-rw-r--r-- | crypto/x509/t_crl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/x509/t_crl.c b/crypto/x509/t_crl.c index 2451ee7..de0320d 100644 --- a/crypto/x509/t_crl.c +++ b/crypto/x509/t_crl.c @@ -51,10 +51,10 @@ int X509_CRL_print(BIO *out, X509_CRL *x) BIO_printf(out, "%8sIssuer: %s\n", "", p); OPENSSL_free(p); BIO_printf(out, "%8sLast Update: ", ""); - ASN1_TIME_print(out, X509_CRL_get_lastUpdate(x)); + ASN1_TIME_print(out, X509_CRL_get0_lastUpdate(x)); BIO_printf(out, "\n%8sNext Update: ", ""); - if (X509_CRL_get_nextUpdate(x)) - ASN1_TIME_print(out, X509_CRL_get_nextUpdate(x)); + if (X509_CRL_get0_nextUpdate(x)) + ASN1_TIME_print(out, X509_CRL_get0_nextUpdate(x)); else BIO_printf(out, "NONE"); BIO_printf(out, "\n"); |