aboutsummaryrefslogtreecommitdiff
path: root/apps/x509.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/x509.c
parent6f93539970fe8c07f7f68f7b2370f79abf78dcbb (diff)
downloadopenssl-9b5cc156f3e42488bc975bbe3055bf004f6dae4a.zip
openssl-9b5cc156f3e42488bc975bbe3055bf004f6dae4a.tar.gz
openssl-9b5cc156f3e42488bc975bbe3055bf004f6dae4a.tar.bz2
Continued patches so certificates and CRLs now can support and use
GeneralizedTime.
Diffstat (limited to 'apps/x509.c')
-rw-r--r--apps/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 58ccd93..fa8537e 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -550,13 +550,13 @@ bad:
else if (startdate == i)
{
BIO_puts(STDout,"notBefore=");
- ASN1_UTCTIME_print(STDout,X509_get_notBefore(x));
+ ASN1_TIME_print(STDout,X509_get_notBefore(x));
BIO_puts(STDout,"\n");
}
else if (enddate == i)
{
BIO_puts(STDout,"notAfter=");
- ASN1_UTCTIME_print(STDout,X509_get_notAfter(x));
+ ASN1_TIME_print(STDout,X509_get_notAfter(x));
BIO_puts(STDout,"\n");
}
else if (fingerprint == i)