Add support for ISO 8601 datetime format
authorWilliam Edmisten <wcedmisten@gmail.com>
Mon, 1 Mar 2021 23:33:29 +0000 (18:33 -0500)
committerTomas Mraz <tomas@openssl.org>
Fri, 11 Jun 2021 10:39:46 +0000 (12:39 +0200)
commit8c5bff2220c4f39b48660afda40005871f53250d
treebc1d608ac356c10b1e460a296f4200dd310505e3
parent3eb4b5bfe66ba0911fffa05ff1e3a00f4c54d641
Add support for ISO 8601 datetime format

Fixes #5430

Added the configuration file option "date_opt" to the openssl applications ca,
crl and x509.
Added ASN1_TIME_print_ex which supports the new datetime format using the
flag ASN1_DTFLGS_ISO8601

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14384)
16 files changed:
CHANGES.md
apps/ca.c
apps/crl.c
apps/include/apps.h
apps/lib/apps.c
apps/x509.c
crypto/asn1/a_time.c
crypto/x509/t_x509.c
doc/man1/openssl-ca.pod.in
doc/man1/openssl-crl.pod.in
doc/man1/openssl-x509.pod.in
doc/man3/ASN1_TIME_set.pod
include/crypto/asn1.h
include/openssl/asn1.h.in
test/x509_time_test.c
util/libcrypto.num