Richard Levitte a8457b4c3d ASN1: Fix i2d_provided() return value
i2d_provided() - which is the internal provider data function for
i2d_KeyParams(), i2d_PrivateKey(), i2d_PublicKey() - didn't treat the
returned length from OSSL_ENCODER_to_data() quite as well as it should
have.  A simple added flag that records the state of |*pp| before
calling OSSL_ENCODER_to_data() fixes the problem.

Fixes #14655

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/15277)
2021-05-15 13:16:31 -07:00
..
2021-05-14 09:37:35 +02:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-05-09 23:15:07 +10:00
2020-11-26 14:18:57 +00:00
2021-04-22 14:38:44 +01:00
2021-04-22 17:41:55 +02:00
2021-04-08 13:04:41 +01:00
2021-01-28 13:54:57 +01:00
2021-04-22 14:38:44 +01:00
2020-11-26 14:18:57 +00:00
2021-04-08 13:04:41 +01:00
2021-05-13 13:19:39 +02:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-05-07 10:17:23 +02:00
2021-05-07 10:17:23 +02:00
2021-05-06 13:03:23 +01:00
2021-05-07 10:17:23 +02:00
2021-04-08 13:04:41 +01:00
2021-04-21 09:27:51 +10:00
2021-04-08 13:04:41 +01:00
2021-05-11 10:00:27 +02:00
2021-04-08 13:04:41 +01:00
2021-01-28 13:54:57 +01:00
2021-05-06 13:03:23 +01:00
2021-04-02 16:39:13 +02:00
2021-04-02 16:39:13 +02:00
2021-04-08 13:04:41 +01:00
2021-04-22 17:41:55 +02:00
2021-04-08 13:04:41 +01:00
2020-11-26 14:18:57 +00:00
2021-04-08 13:04:41 +01:00
2021-03-11 13:27:36 +00:00
2021-03-11 13:27:36 +00:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2020-12-14 10:45:27 +10:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00
2021-04-08 13:04:41 +01:00