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 /apps/crl.c | |
parent | c4fbed6c3139726fc719a703d2195f3b6426b748 (diff) |
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 'apps/crl.c')
-rw-r--r-- | apps/crl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/crl.c b/apps/crl.c index 3dbbc0cda2..5e0fbe5899 100644 --- a/apps/crl.c +++ b/apps/crl.c @@ -285,13 +285,13 @@ int crl_main(int argc, char **argv) #endif if (lastupdate == i) { BIO_printf(bio_out, "lastUpdate="); - ASN1_TIME_print(bio_out, X509_CRL_get_lastUpdate(x)); + ASN1_TIME_print(bio_out, X509_CRL_get0_lastUpdate(x)); BIO_printf(bio_out, "\n"); } if (nextupdate == i) { BIO_printf(bio_out, "nextUpdate="); - if (X509_CRL_get_nextUpdate(x)) - ASN1_TIME_print(bio_out, X509_CRL_get_nextUpdate(x)); + if (X509_CRL_get0_nextUpdate(x)) + ASN1_TIME_print(bio_out, X509_CRL_get0_nextUpdate(x)); else BIO_printf(bio_out, "NONE"); BIO_printf(bio_out, "\n"); |