Richard Levitte cbcbac644c ENCODER: Don't pass libctx to OSSL_ENCODER_CTX_new_by_EVP_PKEY()
The passed 'pkey' already contains a library context, and the encoder
implementations should be found within the same context, so passing an
explicit library context seems unnecessary, and potentially dangerous.

It should be noted that it's possible to pass an EVP_PKEY with a
legacy internal key.  The condition there is that it doesn't have a
library context assigned to it, so the NULL library context is used
automatically, thus requiring that appropriate encoders are available
through that context.

Fixes #13544

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13545)
2020-12-02 13:36:49 +01:00
..
2019-07-02 14:22:29 +02:00
2020-06-04 14:33:57 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-07-16 14:47:04 +02:00
2020-07-05 01:49:20 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2019-10-11 15:30:57 +02:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2019-10-11 15:30:57 +02:00
2020-08-06 13:22:30 +01:00
2019-10-31 14:26:34 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-10-15 14:10:06 +01:00
2019-08-19 07:19:56 +02:00
2020-10-15 14:10:06 +01:00
2019-07-01 10:09:22 +02:00
2020-10-15 14:10:06 +01:00
2020-07-05 01:49:20 +02:00
2020-11-18 23:38:34 +01:00
2020-05-15 14:09:49 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-07-05 01:49:20 +02:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2020-06-04 14:33:57 +01:00
2020-06-04 14:33:57 +01:00
2020-07-05 01:49:20 +02:00
2020-07-05 01:49:20 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2019-11-15 17:20:33 +01:00
2020-10-15 14:10:06 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2019-11-15 17:20:33 +01:00
2020-08-06 13:22:30 +01:00
2020-07-24 18:14:03 +03:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-06-25 14:13:12 +01:00
2019-07-02 14:22:29 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-05 01:49:20 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-06-25 14:13:12 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-07-16 14:47:04 +02:00
2019-12-11 19:04:01 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-10-15 14:10:06 +01:00
2020-06-24 20:07:46 +10:00
2020-10-15 14:10:06 +01:00
2019-10-09 17:44:04 +02:00
2020-08-06 13:22:30 +01:00
2020-10-15 14:10:06 +01:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-08-07 14:16:47 +10:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-06 13:22:30 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2019-10-31 14:26:34 +01:00
2020-08-06 13:22:30 +01:00
2020-05-15 14:09:49 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-06-30 14:14:05 +01:00
2020-07-16 14:47:04 +02:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-08-06 13:22:30 +01:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-08-26 14:04:17 +03:00
2020-07-16 14:47:04 +02:00
2020-10-15 14:10:06 +01:00
2020-04-23 13:55:52 +01:00
2020-04-23 13:55:52 +01:00
2020-04-28 09:06:04 +10:00
2020-10-15 14:10:06 +01:00
2020-08-06 13:22:30 +01:00
2020-10-01 09:25:20 +01:00