Rich Salz 04e62715db Introduce ASN1_TIME_set_string_X509 API
Make funcs to deal with non-null-term'd string
in both asn1_generalizedtime_to_tm() and asn1_utctime_to_tm().

Fixes issue #3444.

This one is used to enforce strict format (RFC 5280) check and to
convert GeneralizedTime to UTCTime.

apps/ca has been changed to use the new API.

Test cases and documentation are updated/added

Signed-off-by: Paul Yang <paulyang.inf@gmail.com>

Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3566)
2017-06-11 16:36:07 -04:00
..
2017-04-04 10:44:17 -04:00
2017-05-11 19:39:38 +02:00
2016-06-01 11:29:57 -04:00
2017-05-11 19:39:38 +02:00
2017-05-11 19:39:38 +02:00
2017-02-21 14:13:58 -05:00
2017-06-10 15:25:56 -04:00
2016-05-19 22:33:00 +02:00
2016-05-19 22:33:00 +02:00
2016-05-17 14:51:26 -04:00
2016-05-19 22:33:00 +02:00
2016-05-17 14:51:34 -04:00
2016-05-17 14:53:16 -04:00
2016-05-17 15:38:09 -04:00
2017-06-02 12:11:38 -04:00
2016-06-01 11:27:25 -04:00
2016-05-17 15:38:09 -04:00
2016-07-18 10:47:07 +01:00
2016-08-02 09:59:23 +02:00
2017-04-24 18:09:01 +02:00
2017-05-20 20:54:04 -04:00
2017-02-22 19:51:04 +01:00
2017-02-28 15:26:25 +01:00
2017-02-28 15:26:25 +01:00
2016-05-19 22:33:00 +02:00
2016-05-24 11:04:38 -04:00
2016-05-19 22:33:00 +02:00
2016-10-18 17:09:47 +01:00
2016-05-17 14:53:16 -04:00
2017-02-28 15:26:25 +01:00
2016-05-17 14:24:46 -04:00
2016-05-17 14:53:16 -04:00