Gilles Peskine
970dcbf453
ASN1 tests: Match negative INTEGERs with the actual library behavior
...
mbedtls_asn1_get_int() and mbedtls_asn1_get_mpi() behave differently
on negative INTEGERs (0200). Don't change the library behavior for now
because this might break interoperability in some applications. Change
the test function to the library behavior.
Fix the test data with negative INTEGERs. These test cases were
previously not run (they were introduced but deliberately deactivated
in 27d806fab41a11441d97017158fcb1356ef7e74f). The test data was
actually wrong: ASN.1 uses two's complement, which has no negative 0,
and some encodings were wrong. Now the tests have correct data, and
the test code rectifies the expected data to match the library
behavior.
2019-10-10 19:21:12 +02:00
..
2019-09-11 15:46:45 +02:00
2019-09-11 15:46:44 +02:00
2019-07-05 13:39:09 +01:00
2019-10-04 12:30:01 +01: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
2018-08-06 11:42:06 +01:00
2019-09-20 15:58:27 +02:00
2019-01-31 08:20:20 -05:00
2019-10-10 19:21:12 +02:00
2019-10-10 19:21:12 +02:00
2019-09-11 15:46:45 +02:00
2019-09-11 15:46:45 +02:00
2018-08-06 11:42:06 +01:00
2019-09-20 15:59:31 +02:00
2019-01-31 08:20:20 -05:00
2019-09-20 15:59:31 +02: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
2019-07-29 17:46:29 +02:00
2019-09-20 15:59:31 +02:00
2019-07-29 17:46:29 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2018-11-22 16:33:01 +00:00
2019-06-07 12:57:33 +01:00
2019-07-29 17:46:29 +02:00
2019-09-20 15:59:31 +02:00
2019-09-04 10:18:11 +01:00
2019-09-20 15:59:31 +02:00
2019-01-31 08:20:20 -05:00
2019-09-20 16:01:59 +02:00
2019-09-20 15:59:31 +02: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
2019-09-20 15:59:31 +02:00
2019-02-01 02:53:16 -05:00
2018-08-06 11:42:06 +01:00
2019-09-20 15:59:31 +02: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-09-20 15:59:31 +02:00
2019-09-05 11:18:58 +01:00
2019-07-08 14:34:27 +02:00
2019-07-08 14:34:27 +02:00
2019-09-20 15:59:31 +02:00
2019-04-30 14:53:49 +01:00
2019-09-20 15:59:31 +02:00
2019-08-14 15:30:18 +02:00
2018-08-06 11:40:57 +01:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02: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
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02: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-09-20 15:59:31 +02:00
2019-04-05 14:08:49 +01:00
2019-09-20 15:59:31 +02:00
2019-07-19 17:08:48 +02: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-09-24 11:21:21 +03:00
2019-02-19 18:33:57 +01:00
2019-09-24 11:22:51 +03:00
2019-09-20 15:58:54 +02:00
2019-09-24 11:22:04 +03: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
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-21 16:24:53 +02:00
2019-06-20 12:40:56 +02:00
2018-11-05 18:36:05 +02:00
2019-06-20 12:40:56 +02:00
2018-11-23 22:58:40 +01:00
2019-06-20 12:40:56 +02:00
2019-09-20 15:59:31 +02:00
2019-05-21 17:06:03 +02:00
2019-09-24 15:54:54 +02:00
2019-07-31 14:15:27 +02:00
2019-08-21 16:56:16 +01:00
2019-09-12 22:05:59 +02:00
2019-09-20 15:59:00 +02:00
2019-08-13 16:04:34 +02:00
2019-09-19 15:26:57 +02:00
2019-07-15 15:52:25 +01:00
2019-09-24 18:39:03 +02:00
2019-09-24 18:39:03 +02:00
2019-03-15 11:37:09 +01:00
2019-07-31 17:47:49 +02:00
2019-09-24 11:21:36 +03:00
2019-09-24 11:21:36 +03:00
2019-01-31 08:20:20 -05:00
2019-01-31 08:20:20 -05: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
2018-08-06 11:42:06 +01:00