Hanno Becker
0f5acc18c5
Use ASN.1 NULL TLVs when testing invalid tags
...
Previously, a test exercising the X.509 CRT parser's behaviour
on unexpected tags would use a '00' byte in place of the tag
for the expected structure. This makes reviewing the examples
harder because the binary data isn't valid DER-encoded ASN.1.
This commit uses the ASN.1 NULL TLV '05 00' to test invalid
tags, and adapts surrounding structures' length values accordingly.
This eases reviewing because now the ASN.1 structures are still
well-formed at the place where the mismatch occurs.
2019-06-04 17:25:44 +01:00
..
2019-02-15 10:13:35 -05:00
2019-01-31 08:20:20 -05:00
2019-02-13 07:34:54 -05:00
2018-08-06 11:42:56 +01:00
2013-04-08 18:09:51 +02:00
2015-04-08 13:25:31 +02:00
2013-04-08 18:09:51 +02:00
2019-01-31 08:20:20 -05:00
2018-06-11 14:03:22 +01:00
2019-01-31 08:20:20 -05:00
2018-06-13 12:13:58 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-28 09:36:30 +00:00
2019-02-28 09:36:30 +00:00
2015-09-30 16:31:10 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2018-11-22 14:03:39 +00:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-03-27 19:25:35 -07:00
2018-11-22 14:03:39 +00:00
2018-05-24 13:37:31 +02:00
2018-11-22 14:03:39 +00:00
2018-03-27 19:25:35 -07:00
2019-04-16 16:06:34 +02:00
2018-11-22 14:03:39 +00:00
2019-01-31 08:20:20 -05:00
2019-04-02 10:02:55 -07:00
2018-03-27 19:25:35 -07:00
2019-01-31 08:20:20 -05:00
2016-10-13 13:53:13 +01:00
2018-08-06 11:42:06 +01:00
2018-08-29 23:38:57 +03:00
2019-02-01 02:53:16 -05:00
2017-09-04 14:17:10 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-22 15:42:03 +00:00
2019-02-22 15:39:03 +00:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-02-27 14:47:10 +00:00
2019-03-27 17:01:24 +00:00
2017-07-24 15:31:30 +01:00
2018-08-15 13:55:37 +01:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:40:57 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2017-07-27 21:44:33 +01:00
2018-08-06 11:40:57 +01:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2018-06-11 13:10:14 +01:00
2019-01-28 15:18:15 +02:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2015-04-08 13:25:31 +02:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2017-10-06 11:58:50 +01:00
2018-08-06 11:42:06 +01:00
2018-01-23 19:37:44 +00:00
2018-08-06 11:40:57 +01:00
2019-04-05 14:08:49 +01:00
2019-04-05 14:08:49 +01:00
2018-08-13 14:46:45 +03:00
2019-01-24 10:37:40 +01:00
2019-05-06 12:16:18 -04:00
2019-05-06 12:16:32 -04:00
2017-05-30 16:54:23 +01:00
2018-08-06 11:42:06 +01:00
2019-01-31 08:20:20 -05:00
2019-02-13 07:34:54 -05:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2019-02-19 18:33:57 +01:00
2018-02-08 17:18:19 +08:00
2018-08-06 11:42:06 +01:00
2018-07-27 17:15:39 +01:00
2018-08-06 11:42:06 +01:00
2015-04-08 13:25:31 +02:00
2019-01-31 08:20:20 -05:00
2018-05-24 13:37:31 +02:00
2019-01-31 08:20:20 -05:00
2019-05-06 12:15:17 -04:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05:00
2019-05-15 14:54:22 +03:00
2019-05-15 17:04:33 +03:00
2019-01-29 10:19:49 +01:00
2019-02-05 09:22:20 +01:00
2019-03-19 16:12:55 +00:00
2018-08-06 11:40:57 +01:00
2019-06-04 17:25:44 +01:00
2019-06-03 14:45:21 +01:00
2019-02-28 09:38:03 +00:00
2019-02-28 09:36:30 +00:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:42:06 +01:00