summaryrefslogtreecommitdiffstats
path: root/apps/crl.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-01-20 00:14:40 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-01-20 00:14:40 +0000
commit9b5cc156f3e42488bc975bbe3055bf004f6dae4a (patch)
tree40ebb604bed92e36a9b2e2af076647cca96d6514 /apps/crl.c
parent6f93539970fe8c07f7f68f7b2370f79abf78dcbb (diff)
Continued patches so certificates and CRLs now can support and use
GeneralizedTime.
Diffstat (limited to 'apps/crl.c')
-rw-r--r--apps/crl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/crl.c b/apps/crl.c
index acb5cb9b24..a0098e9efd 100644
--- a/apps/crl.c
+++ b/apps/crl.c
@@ -214,14 +214,14 @@ bad:
if (lastupdate == i)
{
fprintf(stdout,"lastUpdate=");
- ASN1_UTCTIME_print(bio_out,x->crl->lastUpdate);
+ ASN1_TIME_print(bio_out,x->crl->lastUpdate);
fprintf(stdout,"\n");
}
if (nextupdate == i)
{
fprintf(stdout,"nextUpdate=");
if (x->crl->nextUpdate != NULL)
- ASN1_UTCTIME_print(bio_out,x->crl->nextUpdate);
+ ASN1_TIME_print(bio_out,x->crl->nextUpdate);
else
fprintf(stdout,"NONE");
fprintf(stdout,"\n");
@@ -264,7 +264,7 @@ bad:
fprintf(stdout,"revoked: serialNumber=");
i2a_ASN1_INTEGER(out,r->serialNumber);
fprintf(stdout," revocationDate=");
- ASN1_UTCTIME_print(bio_out,r->revocationDate);
+ ASN1_TIME_print(bio_out,r->revocationDate);
fprintf(stdout,"\n");
}
sk_free(sk);